Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 94.2 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 184.3 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 5.969 kB / 300.7 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08138/0.08166, allocations: 50.42 MB / 351.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02021/0.1019, allocations: 21.58 MB / 372.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.1157, allocations: 7.631 MB / 380.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.1193, allocations: 171.5 kB / 380.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.1241, allocations: 1.64 MB / 382.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008193/0.1323, allocations: 2.802 MB / 385 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.1364, allocations: 1.286 MB / 386.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01566/0.1521, allocations: 10.86 MB / 397.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03436/0.1865, allocations: 19.6 MB / 416.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.1927, allocations: 4.354 MB / 421.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006952/0.1997, allocations: 4.774 MB / 425.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.2016, allocations: 0.7148 MB / 426.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1753/0.3769, allocations: 1.006 MB / 427.6 MB, free: 22.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002624/0.3796, allocations: 2.147 MB / 429.7 MB, free: 22.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.3827, allocations: 2.311 MB / 432 MB, free: 22.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.3999, allocations: 20.89 MB / 452.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3999, allocations: 0 / 452.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3999, allocations: 0 / 452.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005792/0.4005, allocations: 6.344 kB / 452.9 MB, free: 13.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0322/0.4327, allocations: 12.18 MB / 465.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4328, allocations: 7.969 kB / 465.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04477/0.4775, allocations: 8.264 MB / 473.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.4928, allocations: 7.386 MB / 480.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005756/0.4934, allocations: 0.8075 MB / 481.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003717/0.4971, allocations: 1.053 MB / 482.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/0.536, allocations: 18.14 MB / 0.489 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/0.5363, allocations: 17.28 kB / 0.489 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/0.5381, allocations: 444.7 kB / 0.4895 GB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006487/0.5388, allocations: 0.6719 MB / 0.4901 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/0.5745, allocations: 17.47 MB / 0.5072 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09368/0.6683, allocations: 58.81 MB / 0.5646 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2151/0.8834, allocations: 37.42 MB / 0.6012 GB, free: 110.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.8842, allocations: 199.7 kB / 0.6014 GB, free: 110.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.8842, allocations: 89.3 kB / 0.6014 GB, free: 110.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=524): time 7.654e-06/0.8842, allocations: 0 / 0.6014 GB, free: 110.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=530): time 0.04537/0.9296, allocations: 22.16 MB / 0.6231 GB, free: 105.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.9297, allocations: 107.5 kB / 0.6232 GB, free: 105.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/0.935, allocations: 4.098 MB / 0.6272 GB, free: 104.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006732/0.9357, allocations: 109.2 kB / 0.6273 GB, free: 104.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.9377, allocations: 4.502 MB / 0.6317 GB, free: 100.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.9392, allocations: 1.796 MB / 0.6334 GB, free: 99.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.9396, allocations: 139.2 kB / 0.6336 GB, free: 99.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.9399, allocations: 0.5971 MB / 0.6341 GB, free: 98.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/0.9445, allocations: 3.472 MB / 0.6375 GB, free: 97.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/0.9502, allocations: 5.888 MB / 0.6433 GB, free: 93.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006158/0.9564, allocations: 4.803 MB / 0.648 GB, free: 90.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.036e-05/0.9565, allocations: 20 kB / 0.648 GB, free: 90.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01526/0.9717, allocations: 10.99 MB / 0.6587 GB, free: 80.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.9718, allocations: 41.97 kB / 0.6588 GB, free: 80.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.9719, allocations: 76 kB / 0.6588 GB, free: 80.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/0.9752, allocations: 1.405 MB / 0.6602 GB, free: 79.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/0.9805, allocations: 1.609 MB / 0.6618 GB, free: 77.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.9937, allocations: 10.89 MB / 0.6724 GB, free: 67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/0.9988, allocations: 415.2 kB / 0.6728 GB, free: 66.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007224/0.9995, allocations: 332 kB / 0.6731 GB, free: 66.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006566/1.006, allocations: 4.174 MB / 0.6772 GB, free: 62.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/1.007, allocations: 474.2 kB / 0.6777 GB, free: 61.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.019, allocations: 8.568 MB / 0.686 GB, free: 52.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009141/1.028, allocations: 7.144 MB / 0.693 GB, free: 45.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.028, allocations: 16 kB / 0.693 GB, free: 45.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.4e-05/1.028, allocations: 27.89 kB / 0.6931 GB, free: 45.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/1.066, allocations: 19.38 MB / 0.712 GB, free: 26.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.066, allocations: 0 / 0.712 GB, free: 26.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004092/1.07, allocations: 0.944 MB / 0.7129 GB, free: 25.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.074, allocations: 1.25 MB / 0.7141 GB, free: 23.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/1.075, allocations: 108 kB / 0.7142 GB, free: 23.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.087, allocations: 9.637 MB / 0.7236 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.087, allocations: 0 / 0.7236 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.104, allocations: 12.64 MB / 0.736 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/1.108, allocations: 1.171 MB / 0.7371 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.11, allocations: 92 kB / 0.7372 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.113, allocations: 283.8 kB / 0.7375 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/1.114, allocations: 340.5 kB / 0.7378 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/1.114, allocations: 152 kB / 0.738 GB, free: 15.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005731/1.12, allocations: 2.752 MB / 0.7406 GB, free: 12.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.764e-06/1.12, allocations: 0 / 0.7406 GB, free: 12.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01204/1.132, allocations: 1.931 MB / 0.7425 GB, free: 10.32 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/1.134, allocations: 318.1 kB / 0.7428 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0188/1.153, allocations: 8.793 MB / 0.7514 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.153, allocations: 0 / 0.7514 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00869/1.161, allocations: 4.224 MB / 0.7555 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/1.167, allocations: 0.9923 MB / 0.7565 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.213/1.38, allocations: 22.97 MB / 0.7789 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00754/1.387, allocations: 7.178 MB / 0.786 GB, free: 160.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006984/1.394, allocations: 2.32 MB / 0.7882 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.396, allocations: 416.5 kB / 0.7886 GB, free: 160.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.445e-06/1.396, allocations: 0 / 0.7886 GB, free: 160.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1098/1.506, allocations: 76.27 MB / 0.8631 GB, free: 95.93 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches