Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009821/0.0009821, allocations: 99.75 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000989/0.0009891, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2165, allocations: 50.44 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0182/0.2347, allocations: 24.43 MB / 431.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.2505, allocations: 8.007 MB / 439.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/0.2552, allocations: 175.4 kB / 439.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01705/0.2723, allocations: 7.916 MB / 447.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.2834, allocations: 2.761 MB / 450.4 MB, free: 408 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.2889, allocations: 1.728 MB / 452.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.3038, allocations: 11.23 MB / 463.3 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03518/0.339, allocations: 19.61 MB / 482.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009846/0.3489, allocations: 5.118 MB / 488.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009763/0.3587, allocations: 6.186 MB / 494.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003838/0.3626, allocations: 1.117 MB / 495.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005772/0.3684, allocations: 1.543 MB / 496.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.3729, allocations: 2.726 MB / 499.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.384, allocations: 5.725 MB / 0.4935 GB, free: 9.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2282/0.6122, allocations: 22.61 MB / 0.5156 GB, free: 39.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.6123, allocations: 2.625 kB / 0.5156 GB, free: 39.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6123, allocations: 0 / 0.5156 GB, free: 39.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006612/0.613, allocations: 0 / 0.5156 GB, free: 39.3 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.04269/0.6557, allocations: 13.49 MB / 0.5288 GB, free: 33.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6557, allocations: 10.12 kB / 0.5288 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03265/0.6884, allocations: 6.225 MB / 0.5349 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/0.7041, allocations: 7.077 MB / 0.5418 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006156/0.7047, allocations: 0.7267 MB / 0.5425 GB, free: 27.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004211/0.709, allocations: 0.9429 MB / 0.5434 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/0.7451, allocations: 16.14 MB / 0.5592 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/0.7454, allocations: 19.8 kB / 0.5592 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003381/0.7488, allocations: 409.6 kB / 0.5596 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004247/0.7493, allocations: 0.5619 MB / 0.5601 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/0.7788, allocations: 15.09 MB / 0.5749 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09321/0.8721, allocations: 53.1 MB / 0.6267 GB, free: 6.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/0.8925, allocations: 20.13 MB / 0.6464 GB, free: 136 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006504/0.899, allocations: 3.664 MB / 0.6499 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/0.8996, allocations: 268.6 kB / 0.6502 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.343e-05/0.8997, allocations: 96.7 kB / 0.6503 GB, free: 12.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=453): time 7.474e-06/0.8997, allocations: 0 / 0.6503 GB, free: 12.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=458): time 0.05641/0.9562, allocations: 20.64 MB / 0.6705 GB, free: 7.438 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.9563, allocations: 103 kB / 0.6706 GB, free: 7.324 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007945/0.9642, allocations: 4.497 MB / 0.6749 GB, free: 2.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008731/0.9651, allocations: 97.7 kB / 0.675 GB, free: 2.703 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2043/1.169, allocations: 4.189 MB / 0.6791 GB, free: 172.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.171, allocations: 1.553 MB / 0.6806 GB, free: 171.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/1.173, allocations: 1.195 MB / 0.6818 GB, free: 171.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/1.173, allocations: 304.1 kB / 0.6821 GB, free: 170.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/1.178, allocations: 3.099 MB / 0.6851 GB, free: 170.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005482/1.183, allocations: 5.248 MB / 0.6903 GB, free: 167.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009951/1.193, allocations: 8.937 MB / 0.699 GB, free: 161.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.193, allocations: 19.22 kB / 0.699 GB, free: 161.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01551/1.209, allocations: 9.91 MB / 0.7087 GB, free: 157.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/1.209, allocations: 37.09 kB / 0.7087 GB, free: 157.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.209, allocations: 66.72 kB / 0.7088 GB, free: 157.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/1.212, allocations: 1.375 MB / 0.7101 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/1.218, allocations: 1.389 MB / 0.7115 GB, free: 156.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.232, allocations: 11.64 MB / 0.7228 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.237, allocations: 364.6 kB / 0.7232 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009311/1.238, allocations: 295.4 kB / 0.7235 GB, free: 145.2 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.005719/1.243, allocations: 3.894 MB / 0.7273 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009847/1.244, allocations: 457.9 kB / 0.7277 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.257, allocations: 8.575 MB / 0.7361 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008496/1.265, allocations: 6.296 MB / 0.7422 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.265, allocations: 12 kB / 0.7422 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/1.265, allocations: 23.91 kB / 0.7423 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.292, allocations: 17.74 MB / 0.7596 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.293, allocations: 8 kB / 0.7596 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.296, allocations: 0.808 MB / 0.7604 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/1.299, allocations: 1.278 MB / 0.7616 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/1.299, allocations: 104 kB / 0.7617 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.312, allocations: 10.57 MB / 0.7721 GB, free: 97.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.312, allocations: 12 kB / 0.7721 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05857/1.37, allocations: 39.78 MB / 0.8109 GB, free: 56.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.373, allocations: 1.085 MB / 0.812 GB, free: 55.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007232/1.374, allocations: 92 kB / 0.8121 GB, free: 55.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.376, allocations: 243.7 kB / 0.8123 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006482/1.377, allocations: 327.6 kB / 0.8126 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002627/1.377, allocations: 137.3 kB / 0.8127 GB, free: 55.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003693/1.381, allocations: 3.115 MB / 0.8158 GB, free: 51.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.381, allocations: 0 / 0.8158 GB, free: 51.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007099/1.388, allocations: 2.086 MB / 0.8178 GB, free: 49.81 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.001314/1.389, allocations: 0.5404 MB / 0.8183 GB, free: 49.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01638/1.406, allocations: 8.016 MB / 0.8262 GB, free: 41.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.406, allocations: 4 kB / 0.8262 GB, free: 41.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01032/1.416, allocations: 3.981 MB / 0.8301 GB, free: 37.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008618/1.425, allocations: 1.001 MB / 0.831 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2998/1.725, allocations: 25.99 MB / 0.8564 GB, free: 153 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01383/1.739, allocations: 6.661 MB / 0.8629 GB, free: 152.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007522/1.746, allocations: 2.121 MB / 0.865 GB, free: 152 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.748, allocations: 384.4 kB / 0.8654 GB, free: 152 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/1.748, allocations: 0 / 0.8654 GB, free: 152 MB / 490.7 MB Notification: Performance of Templates: time 0.116/1.864, allocations: 82.85 MB / 0.9463 GB, free: 87.68 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches