Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001873/0.001873, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.92 kB / 328.6 MB, free: 3.238 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1078, allocations: 46.62 MB / 375.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2768/0.3846, allocations: 24.97 MB / 400.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02169/0.4063, allocations: 7.706 MB / 407.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008486/0.4149, allocations: 155.8 kB / 408 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02298/0.4379, allocations: 8.365 MB / 416.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.4534, allocations: 3.042 MB / 419.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007605/0.461, allocations: 1.787 MB / 421.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02236/0.4834, allocations: 11.21 MB / 432.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0454/0.5288, allocations: 23.35 MB / 455.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.5413, allocations: 5.989 MB / 461.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.5542, allocations: 6.541 MB / 468.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005673/0.5599, allocations: 1.727 MB / 470 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008048/0.568, allocations: 2.121 MB / 472.2 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006123/0.5741, allocations: 3.453 MB / 475.6 MB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01655/0.5907, allocations: 6.436 MB / 482.1 MB, free: 4.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03662/0.6274, allocations: 23.14 MB / 0.4934 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6274, allocations: 0 / 0.4934 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6275, allocations: 0 / 0.4934 GB, free: 13.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007454/0.6282, allocations: 0 / 0.4934 GB, free: 13.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.0499/0.6781, allocations: 13.55 MB / 0.5066 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6782, allocations: 8.031 kB / 0.5066 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04215/0.7204, allocations: 7.249 MB / 0.5137 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/0.7368, allocations: 6.492 MB / 0.52 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009494/0.7378, allocations: 0.7305 MB / 0.5207 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005779/0.7436, allocations: 0.9647 MB / 0.5217 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05166/0.7953, allocations: 16.59 MB / 0.5379 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005998/0.7959, allocations: 23.83 kB / 0.5379 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004728/0.8006, allocations: 404 kB / 0.5383 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008571/0.8015, allocations: 0.5908 MB / 0.5389 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4399/1.241, allocations: 15.79 MB / 0.5543 GB, free: 132.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.343, allocations: 53.27 MB / 0.6063 GB, free: 100.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/1.361, allocations: 22.73 MB / 0.6285 GB, free: 79.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006305/1.367, allocations: 3.802 MB / 0.6322 GB, free: 77.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/1.384, allocations: 11.68 MB / 0.6436 GB, free: 66.03 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.384, allocations: 76.67 kB / 0.6437 GB, free: 65.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 4.879e-06/1.384, allocations: 0 / 0.6437 GB, free: 65.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.0372/1.421, allocations: 17.51 MB / 0.6608 GB, free: 48.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.421, allocations: 90.19 kB / 0.6609 GB, free: 48.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006302/1.427, allocations: 4.765 MB / 0.6655 GB, free: 43.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007062/1.428, allocations: 85.7 kB / 0.6656 GB, free: 43.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/1.43, allocations: 4.482 MB / 0.67 GB, free: 38.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.431, allocations: 1.251 MB / 0.6712 GB, free: 37.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/1.433, allocations: 1.179 MB / 0.6724 GB, free: 36.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/1.433, allocations: 301.1 kB / 0.6726 GB, free: 36.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/1.437, allocations: 2.901 MB / 0.6755 GB, free: 33.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/1.441, allocations: 5.262 MB / 0.6806 GB, free: 26.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008825/1.45, allocations: 8.636 MB / 0.689 GB, free: 17.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.287e-05/1.45, allocations: 27.94 kB / 0.6891 GB, free: 17.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01495/1.465, allocations: 9.617 MB / 0.6985 GB, free: 7.406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/1.465, allocations: 48.23 kB / 0.6985 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.465, allocations: 80 kB / 0.6986 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/1.468, allocations: 1.434 MB / 0.7 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/1.473, allocations: 1.334 MB / 0.7013 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.49, allocations: 12.67 MB / 0.7137 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006191/1.496, allocations: 359.4 kB / 0.714 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.497, allocations: 303.9 kB / 0.7143 GB, free: 6.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01207/1.509, allocations: 3.924 MB / 0.7181 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/1.511, allocations: 450.4 kB / 0.7186 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.527, allocations: 6.776 MB / 0.7252 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01102/1.538, allocations: 5.588 MB / 0.7306 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-05/1.538, allocations: 12 kB / 0.7306 GB, free: 6.066 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/1.538, allocations: 15.94 kB / 0.7307 GB, free: 6.051 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03258/1.571, allocations: 15.45 MB / 0.7457 GB, free: 6.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/1.571, allocations: 4 kB / 0.7457 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/1.574, allocations: 0.663 MB / 0.7464 GB, free: 5.812 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/1.578, allocations: 1.302 MB / 0.7477 GB, free: 4.508 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006077/1.578, allocations: 87.97 kB / 0.7478 GB, free: 4.422 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.298/1.876, allocations: 11.54 MB / 0.759 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.876, allocations: 8.094 kB / 0.759 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.894, allocations: 9.998 MB / 0.7688 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/1.897, allocations: 1.02 MB / 0.7698 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000791/1.898, allocations: 72.69 kB / 0.7699 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.9, allocations: 220.8 kB / 0.7701 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/1.901, allocations: 272.5 kB / 0.7703 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003378/1.902, allocations: 113.5 kB / 0.7704 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008236/1.91, allocations: 3.234 MB / 0.7736 GB, free: 162 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.82e-07/1.91, allocations: 0 / 0.7736 GB, free: 162 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009084/1.919, allocations: 1.691 MB / 0.7752 GB, free: 161.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/1.921, allocations: 0.5185 MB / 0.7758 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.934, allocations: 7.532 MB / 0.7831 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.934, allocations: 7.875 kB / 0.7831 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006498/1.941, allocations: 3.599 MB / 0.7866 GB, free: 157 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/1.946, allocations: 1.04 MB / 0.7876 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03019/1.976, allocations: 17.77 MB / 0.805 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006952/1.983, allocations: 6.548 MB / 0.8114 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005253/1.988, allocations: 2.099 MB / 0.8134 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/1.989, allocations: 354.9 kB / 0.8138 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of SimCode: time 7.41e-07/1.989, allocations: 0 / 0.8138 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1035/2.093, allocations: 68.29 MB / 0.8805 GB, free: 70.68 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches