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.00139/0.00139, allocations: 108 kB / 18.4 MB, free: 4.703 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.001455/0.001455, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.408/1.408, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001183/0.001183, allocations: 51.94 kB / 329.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 46.61 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2369/0.3383, allocations: 24.97 MB / 400.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.3582, allocations: 7.715 MB / 408.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006887/0.3652, allocations: 151.1 kB / 408.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02058/0.3858, allocations: 8.368 MB / 417.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.4004, allocations: 3.049 MB / 420.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006612/0.4071, allocations: 1.791 MB / 421.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.4247, allocations: 11.22 MB / 433.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04081/0.4656, allocations: 23.34 MB / 456.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.4775, allocations: 5.985 MB / 462.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01417/0.4917, allocations: 6.537 MB / 469 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006128/0.4979, allocations: 1.727 MB / 470.7 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008266/0.5062, allocations: 2.128 MB / 472.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006202/0.5125, allocations: 3.449 MB / 476.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01432/0.5268, allocations: 6.44 MB / 482.7 MB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03213/0.559, allocations: 23.15 MB / 0.494 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.5591, allocations: 0 / 0.494 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5591, allocations: 0 / 0.494 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000764/0.5598, allocations: 0 / 0.494 GB, free: 13.28 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.04876/0.6086, allocations: 13.55 MB / 0.5072 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.6087, allocations: 8.031 kB / 0.5073 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04029/0.649, allocations: 7.248 MB / 0.5143 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.6642, allocations: 6.496 MB / 0.5207 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008264/0.6651, allocations: 0.7305 MB / 0.5214 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004907/0.67, allocations: 0.9608 MB / 0.5223 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05059/0.7206, allocations: 16.59 MB / 0.5385 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005341/0.7212, allocations: 7.906 kB / 0.5385 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004188/0.7254, allocations: 415.9 kB / 0.5389 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007512/0.7262, allocations: 0.5985 MB / 0.5395 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4422/1.168, allocations: 15.79 MB / 0.5549 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08814/1.257, allocations: 53.26 MB / 0.607 GB, free: 100.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.274, allocations: 22.73 MB / 0.6291 GB, free: 79.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/1.28, allocations: 3.814 MB / 0.6329 GB, free: 77.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/1.296, allocations: 11.67 MB / 0.6443 GB, free: 66.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.297, allocations: 73.3 kB / 0.6443 GB, free: 65.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.342e-06/1.297, allocations: 0 / 0.6443 GB, free: 65.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03673/1.333, allocations: 17.52 MB / 0.6614 GB, free: 48.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/1.333, allocations: 86.25 kB / 0.6615 GB, free: 48.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006662/1.34, allocations: 4.761 MB / 0.6662 GB, free: 43.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008943/1.341, allocations: 89.7 kB / 0.6663 GB, free: 43.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/1.343, allocations: 4.475 MB / 0.6706 GB, free: 38.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.345, allocations: 1.251 MB / 0.6719 GB, free: 37.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/1.347, allocations: 1.183 MB / 0.673 GB, free: 36.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/1.347, allocations: 309.1 kB / 0.6733 GB, free: 36.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/1.351, allocations: 2.9 MB / 0.6761 GB, free: 33.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004771/1.355, allocations: 5.266 MB / 0.6813 GB, free: 26.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/1.365, allocations: 8.64 MB / 0.6897 GB, free: 17.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-05/1.365, allocations: 24 kB / 0.6897 GB, free: 17.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01608/1.381, allocations: 9.618 MB / 0.6991 GB, free: 7.406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/1.381, allocations: 41 kB / 0.6992 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/1.381, allocations: 76 kB / 0.6992 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/1.385, allocations: 1.434 MB / 0.7006 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/1.39, allocations: 1.33 MB / 0.7019 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.407, allocations: 12.68 MB / 0.7143 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/1.412, allocations: 367.5 kB / 0.7147 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.414, allocations: 300 kB / 0.715 GB, free: 6.918 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.008342/1.422, allocations: 3.924 MB / 0.7188 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.423, allocations: 454.4 kB / 0.7192 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.436, allocations: 6.765 MB / 0.7258 GB, free: 11.71 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009248/1.445, allocations: 5.58 MB / 0.7313 GB, free: 6.102 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.445, allocations: 16 kB / 0.7313 GB, free: 6.086 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/1.445, allocations: 19.94 kB / 0.7313 GB, free: 6.066 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.473, allocations: 15.44 MB / 0.7464 GB, free: 6.508 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.473, allocations: 8.578 kB / 0.7464 GB, free: 6.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.476, allocations: 0.6709 MB / 0.7471 GB, free: 5.828 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/1.479, allocations: 1.294 MB / 0.7483 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004607/1.48, allocations: 87.97 kB / 0.7484 GB, free: 4.445 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2878/1.767, allocations: 11.54 MB / 0.7597 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.768, allocations: 9.875 kB / 0.7597 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.786, allocations: 10.01 MB / 0.7695 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/1.789, allocations: 1.02 MB / 0.7704 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.79, allocations: 71.84 kB / 0.7705 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.792, allocations: 222.6 kB / 0.7707 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/1.793, allocations: 271 kB / 0.771 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.793, allocations: 118.6 kB / 0.7711 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006079/1.799, allocations: 3.232 MB / 0.7743 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.21e-07/1.799, allocations: 0 / 0.7743 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007694/1.807, allocations: 1.696 MB / 0.7759 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.001587/1.809, allocations: 0.5145 MB / 0.7764 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.821, allocations: 7.536 MB / 0.7838 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.821, allocations: 0 / 0.7838 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/1.828, allocations: 3.605 MB / 0.7873 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007335/1.836, allocations: 1.025 MB / 0.7883 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/1.87, allocations: 17.52 MB / 0.8054 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008304/1.879, allocations: 6.372 MB / 0.8116 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/1.881, allocations: 408.3 kB / 0.812 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.423e-06/1.881, allocations: 0 / 0.812 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.4999/2.381, allocations: 229.7 MB / 1.036 GB, free: 99.84 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/jenkins1/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/jenkins1/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