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.IMC_withLosses.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 103.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009648/0.000965, allocations: 39.94 kB / 350.1 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2752, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01784/0.293, allocations: 24.4 MB / 423.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3095, allocations: 7.77 MB / 431.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006699/0.3163, allocations: 175.4 kB / 431.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.3348, allocations: 7.905 MB / 439.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.3479, allocations: 2.73 MB / 442.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006094/0.354, allocations: 1.702 MB / 444.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.3694, allocations: 11.12 MB / 455.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03124/0.4006, allocations: 19.61 MB / 474.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009105/0.4098, allocations: 5.114 MB / 480 MB, free: 480 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.4207, allocations: 6.186 MB / 486.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004961/0.4257, allocations: 1.109 MB / 487.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006866/0.4326, allocations: 1.511 MB / 488.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005493/0.4381, allocations: 2.738 MB / 491.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01297/0.4511, allocations: 5.722 MB / 497.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3317/0.7829, allocations: 22.58 MB / 0.5077 GB, free: 41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.7829, allocations: 1.938 kB / 0.5077 GB, free: 41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7829, allocations: 0 / 0.5077 GB, free: 41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008691/0.7838, allocations: 0.875 kB / 0.5077 GB, free: 41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.06086/0.8447, allocations: 13.47 MB / 0.5208 GB, free: 36.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.8448, allocations: 9.656 kB / 0.5209 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03646/0.8812, allocations: 6.208 MB / 0.5269 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/0.9024, allocations: 7.064 MB / 0.5338 GB, free: 31.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/0.9036, allocations: 0.7218 MB / 0.5345 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007563/0.9112, allocations: 0.9607 MB / 0.5355 GB, free: 31.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05227/0.9635, allocations: 16.14 MB / 0.5512 GB, free: 16.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005361/0.9641, allocations: 11.91 kB / 0.5512 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007347/0.9714, allocations: 400 kB / 0.5516 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007879/0.9723, allocations: 0.5696 MB / 0.5522 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0353/1.008, allocations: 15.1 MB / 0.5669 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/1.12, allocations: 52.62 MB / 0.6183 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02126/1.141, allocations: 20.13 MB / 0.638 GB, free: 5.418 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007791/1.149, allocations: 3.668 MB / 0.6415 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/1.149, allocations: 190.8 kB / 0.6417 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/1.149, allocations: 88.72 kB / 0.6418 GB, free: 1.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=453): time 1.081e-05/1.15, allocations: 0 / 0.6418 GB, free: 1.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=458): time 0.0574/1.207, allocations: 20.64 MB / 0.662 GB, free: 12.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.207, allocations: 98.97 kB / 0.6621 GB, free: 12.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007148/1.214, allocations: 4.489 MB / 0.6664 GB, free: 8.203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.215, allocations: 101.7 kB / 0.6665 GB, free: 8.098 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/1.218, allocations: 4.186 MB / 0.6706 GB, free: 3.887 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002214/1.22, allocations: 1.546 MB / 0.6721 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/1.223, allocations: 1.2 MB / 0.6733 GB, free: 1.141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/1.223, allocations: 301.1 kB / 0.6736 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2391/1.462, allocations: 3.093 MB / 0.6766 GB, free: 175.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006073/1.468, allocations: 5.255 MB / 0.6817 GB, free: 173 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.479, allocations: 8.93 MB / 0.6905 GB, free: 167.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.48, allocations: 19.44 kB / 0.6905 GB, free: 167.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01666/1.496, allocations: 9.917 MB / 0.7002 GB, free: 163.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/1.496, allocations: 39.16 kB / 0.7002 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/1.496, allocations: 67.62 kB / 0.7003 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.5, allocations: 1.366 MB / 0.7016 GB, free: 163.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/1.505, allocations: 1.389 MB / 0.703 GB, free: 163 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.521, allocations: 11.65 MB / 0.7143 GB, free: 154.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.527, allocations: 361.8 kB / 0.7147 GB, free: 153.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.528, allocations: 291.6 kB / 0.715 GB, free: 153.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008345/1.537, allocations: 3.882 MB / 0.7187 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/1.538, allocations: 464.2 kB / 0.7192 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.555, allocations: 8.575 MB / 0.7276 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0107/1.565, allocations: 6.295 MB / 0.7337 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/1.566, allocations: 12 kB / 0.7337 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.093e-05/1.566, allocations: 27.84 kB / 0.7337 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03571/1.601, allocations: 17.72 MB / 0.7511 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.026e-05/1.601, allocations: 12 kB / 0.7511 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003582/1.605, allocations: 0.8041 MB / 0.7519 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/1.608, allocations: 1.282 MB / 0.7531 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000895/1.609, allocations: 99.98 kB / 0.7532 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.623, allocations: 10.57 MB / 0.7635 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.623, allocations: 15.94 kB / 0.7635 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07227/1.696, allocations: 39.77 MB / 0.8024 GB, free: 66.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003966/1.7, allocations: 1.089 MB / 0.8034 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/1.702, allocations: 89.86 kB / 0.8035 GB, free: 65.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004462/1.706, allocations: 235.7 kB / 0.8037 GB, free: 64.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/1.708, allocations: 331.5 kB / 0.8041 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/1.71, allocations: 136 kB / 0.8042 GB, free: 64.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007587/1.717, allocations: 3.111 MB / 0.8072 GB, free: 61.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.717, allocations: 0 / 0.8072 GB, free: 61.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0111/1.728, allocations: 2.076 MB / 0.8093 GB, free: 59.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002216/1.731, allocations: 0.5481 MB / 0.8098 GB, free: 58.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01483/1.745, allocations: 8.023 MB / 0.8176 GB, free: 50.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.746, allocations: 0 / 0.8176 GB, free: 50.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008336/1.754, allocations: 3.985 MB / 0.8215 GB, free: 46.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/1.765, allocations: 0.9985 MB / 0.8225 GB, free: 45.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04689/1.812, allocations: 25.96 MB / 0.8478 GB, free: 19.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/1.825, allocations: 6.657 MB / 0.8543 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008305/1.834, allocations: 2.111 MB / 0.8564 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/1.836, allocations: 387.3 kB / 0.8568 GB, free: 10.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.734e-06/1.836, allocations: 0 / 0.8568 GB, free: 10.61 MB / 490.7 MB Notification: Performance of Templates: time 0.3818/2.218, allocations: 82.76 MB / 0.9376 GB, free: 99.32 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches