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.0009206/0.0009205, allocations: 90.19 kB / 16.65 MB, free: 6.582 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.0008401/0.0008401, allocations: 186.8 kB / 17.57 MB, free: 6.199 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.337/1.337, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003803, allocations: 13.16 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 50.41 MB / 351.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2276/0.3493, allocations: 25.33 MB / 377.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.366, allocations: 7.911 MB / 385.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/0.3719, allocations: 184.6 kB / 385.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007528/0.3794, allocations: 1.944 MB / 387.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.3936, allocations: 3.021 MB / 390.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006824/0.4004, allocations: 1.594 MB / 391.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01824/0.4187, allocations: 12.22 MB / 404.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.043/0.4617, allocations: 24.07 MB / 428.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.4726, allocations: 4.585 MB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.4833, allocations: 5.532 MB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002965/0.4863, allocations: 0.7188 MB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.4917, allocations: 1.086 MB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00355/0.4953, allocations: 2.265 MB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01154/0.5069, allocations: 5.464 MB / 447.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02725/0.5342, allocations: 23.26 MB / 471 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5342, allocations: 0 / 471 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.5342, allocations: 0 / 471 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007144/0.535, allocations: 0 / 471 MB, free: 14.45 MB / 382.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.03652/0.5715, allocations: 12.14 MB / 483.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.5716, allocations: 8.031 kB / 483.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04839/0.6199, allocations: 8.473 MB / 491.6 MB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.6361, allocations: 7.472 MB / 499.1 MB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/0.6371, allocations: 0.8069 MB / 499.9 MB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/0.6413, allocations: 1.07 MB / 0.4893 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04603/0.6874, allocations: 18.31 MB / 0.5071 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005589/0.688, allocations: 15.91 kB / 0.5071 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004242/0.6922, allocations: 447.9 kB / 0.5076 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007779/0.693, allocations: 0.6672 MB / 0.5082 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3612/1.054, allocations: 17.55 MB / 0.5254 GB, free: 110.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08872/1.143, allocations: 58.89 MB / 0.5829 GB, free: 71.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02429/1.167, allocations: 37.46 MB / 0.6194 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/1.173, allocations: 4.174 MB / 0.6235 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/1.173, allocations: 194 kB / 0.6237 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/1.173, allocations: 86.64 kB / 0.6238 GB, free: 28.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 7.374e-06/1.173, allocations: 0 / 0.6238 GB, free: 28.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.04331/1.216, allocations: 21.93 MB / 0.6452 GB, free: 6.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.217, allocations: 111.5 kB / 0.6453 GB, free: 6.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/1.222, allocations: 4.171 MB / 0.6494 GB, free: 2.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006882/1.223, allocations: 109.7 kB / 0.6495 GB, free: 2.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.225, allocations: 4.499 MB / 0.6539 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.227, allocations: 1.797 MB / 0.6556 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/1.228, allocations: 0.5525 MB / 0.6562 GB, free: 11.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/1.228, allocations: 305.1 kB / 0.6565 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0055/1.234, allocations: 3.492 MB / 0.6599 GB, free: 7.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00733/1.241, allocations: 5.929 MB / 0.6657 GB, free: 496 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.255, allocations: 10.1 MB / 0.6755 GB, free: 5.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-05/1.256, allocations: 24 kB / 0.6756 GB, free: 5.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02049/1.276, allocations: 11.02 MB / 0.6863 GB, free: 10.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/1.276, allocations: 36 kB / 0.6864 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/1.276, allocations: 80 kB / 0.6864 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/1.28, allocations: 1.392 MB / 0.6878 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006182/1.286, allocations: 1.618 MB / 0.6894 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2072/1.493, allocations: 10.58 MB / 0.6997 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.499, allocations: 416.4 kB / 0.7001 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.5, allocations: 332.9 kB / 0.7004 GB, free: 144.8 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006655/1.507, allocations: 4.171 MB / 0.7045 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009955/1.508, allocations: 474.3 kB / 0.7049 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/1.53, allocations: 8.56 MB / 0.7133 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02102/1.551, allocations: 7.156 MB / 0.7203 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/1.551, allocations: 11.88 kB / 0.7203 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/1.551, allocations: 26.67 kB / 0.7203 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05599/1.607, allocations: 19.41 MB / 0.7393 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.607, allocations: 0 / 0.7393 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007446/1.615, allocations: 0.9412 MB / 0.7402 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006097/1.621, allocations: 1.254 MB / 0.7414 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.622, allocations: 113.2 kB / 0.7415 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02218/1.644, allocations: 9.33 MB / 0.7506 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.644, allocations: 4 kB / 0.7507 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/1.676, allocations: 12.4 MB / 0.7628 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003011/1.679, allocations: 1.175 MB / 0.7639 GB, free: 110.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/1.68, allocations: 92 kB / 0.764 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.682, allocations: 283.8 kB / 0.7643 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007018/1.683, allocations: 352.4 kB / 0.7646 GB, free: 109.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/1.683, allocations: 148 kB / 0.7647 GB, free: 109.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00355/1.687, allocations: 2.811 MB / 0.7675 GB, free: 106.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/1.687, allocations: 0 / 0.7675 GB, free: 106.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005994/1.693, allocations: 1.939 MB / 0.7694 GB, free: 104.6 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006804/1.693, allocations: 311.5 kB / 0.7697 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.705, allocations: 8.812 MB / 0.7783 GB, free: 95.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.705, allocations: 0 / 0.7783 GB, free: 95.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006328/1.711, allocations: 4.232 MB / 0.7824 GB, free: 91.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00641/1.718, allocations: 1.077 MB / 0.7835 GB, free: 90.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/1.745, allocations: 24.05 MB / 0.807 GB, free: 65.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005983/1.751, allocations: 7.009 MB / 0.8138 GB, free: 58.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005871/1.757, allocations: 2.317 MB / 0.8161 GB, free: 56.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.759, allocations: 419.4 kB / 0.8165 GB, free: 56.19 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/1.759, allocations: 0 / 0.8165 GB, free: 56.19 MB / 478.1 MB Notification: Performance of Templates: time 0.3044/2.063, allocations: 78.6 MB / 0.8932 GB, free: 121.8 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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