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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001008/0.001007, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002436, allocations: 8 kB / 308.4 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09849, allocations: 51.53 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2015/0.3, allocations: 23.37 MB / 383.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.3175, allocations: 7.904 MB / 391.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006888/0.3244, allocations: 169.2 kB / 391.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006911/0.3314, allocations: 1.767 MB / 393.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.342, allocations: 2.752 MB / 395.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.3471, allocations: 1.605 MB / 397.5 MB, free: 360 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.363, allocations: 11.09 MB / 408.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04208/0.4051, allocations: 23.55 MB / 432.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007976/0.4132, allocations: 4.173 MB / 436.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009055/0.4223, allocations: 5.007 MB / 441.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.4248, allocations: 0.6602 MB / 442 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/0.4301, allocations: 1.089 MB / 443.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.4334, allocations: 2.094 MB / 445.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.4437, allocations: 5.001 MB / 450.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02332/0.467, allocations: 19.64 MB / 469.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4671, allocations: 0 / 469.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4671, allocations: 0 / 469.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006745/0.4678, allocations: 0 / 469.8 MB, free: 13.57 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03594/0.5037, allocations: 11.27 MB / 481.1 MB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5038, allocations: 12.03 kB / 481.1 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/0.5393, allocations: 6.247 MB / 487.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/0.5548, allocations: 7.104 MB / 494.4 MB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000844/0.5557, allocations: 0.7186 MB / 495.2 MB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003795/0.5595, allocations: 0.9607 MB / 496.1 MB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04213/0.6017, allocations: 16.15 MB / 0.5003 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005421/0.6023, allocations: 11.91 kB / 0.5003 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003387/0.6057, allocations: 396 kB / 0.5007 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000675/0.6064, allocations: 0.5592 MB / 0.5012 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/0.641, allocations: 15.12 MB / 0.516 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4826/1.124, allocations: 53.26 MB / 0.568 GB, free: 102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.141, allocations: 20.11 MB / 0.5876 GB, free: 83.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006968/1.148, allocations: 3.68 MB / 0.5912 GB, free: 82.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/1.149, allocations: 268 kB / 0.5915 GB, free: 81.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/1.149, allocations: 87.09 kB / 0.5916 GB, free: 81.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 1.032e-05/1.149, allocations: 0 / 0.5916 GB, free: 81.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.05546/1.205, allocations: 20.73 MB / 0.6118 GB, free: 68.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.205, allocations: 98.97 kB / 0.6119 GB, free: 68.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/1.214, allocations: 4.502 MB / 0.6163 GB, free: 63.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.215, allocations: 97.7 kB / 0.6164 GB, free: 63.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.218, allocations: 4.2 MB / 0.6205 GB, free: 59.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.22, allocations: 1.55 MB / 0.622 GB, free: 57.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/1.221, allocations: 495.6 kB / 0.6225 GB, free: 57.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/1.221, allocations: 305.1 kB / 0.6228 GB, free: 56.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.226, allocations: 3.108 MB / 0.6258 GB, free: 53.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007694/1.234, allocations: 5.261 MB / 0.6309 GB, free: 47.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.247, allocations: 8.943 MB / 0.6397 GB, free: 37.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.247, allocations: 23.94 kB / 0.6397 GB, free: 37.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02041/1.268, allocations: 9.925 MB / 0.6494 GB, free: 27.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/1.268, allocations: 40.28 kB / 0.6494 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.268, allocations: 72 kB / 0.6495 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/1.272, allocations: 1.368 MB / 0.6508 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005743/1.277, allocations: 1.392 MB / 0.6522 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/1.293, allocations: 11.65 MB / 0.6636 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005201/1.299, allocations: 355.4 kB / 0.6639 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.3, allocations: 299.9 kB / 0.6642 GB, free: 12.25 MB / 446.1 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.008332/1.308, allocations: 3.903 MB / 0.668 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.31, allocations: 462.3 kB / 0.6684 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.327, allocations: 8.586 MB / 0.6768 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01331/1.34, allocations: 6.307 MB / 0.683 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-05/1.34, allocations: 15.98 kB / 0.683 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/1.34, allocations: 23.86 kB / 0.683 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04148/1.382, allocations: 17.75 MB / 0.7004 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/1.382, allocations: 8.188 kB / 0.7004 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00398/1.386, allocations: 0.8074 MB / 0.7012 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/1.39, allocations: 1.278 MB / 0.7024 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009523/1.391, allocations: 99.97 kB / 0.7025 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.409, allocations: 10.6 MB / 0.7129 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.409, allocations: 8 kB / 0.7129 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2523/1.661, allocations: 11.3 MB / 0.7239 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003577/1.665, allocations: 1.109 MB / 0.725 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/1.666, allocations: 91.25 kB / 0.7251 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.67, allocations: 245.9 kB / 0.7253 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/1.671, allocations: 326.6 kB / 0.7256 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005903/1.672, allocations: 138 kB / 0.7257 GB, free: 161.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007295/1.679, allocations: 3.11 MB / 0.7288 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.679, allocations: 3.219 kB / 0.7288 GB, free: 161.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00847/1.687, allocations: 1.734 MB / 0.7305 GB, free: 161.6 MB / 494.1 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.001872/1.689, allocations: 0.5331 MB / 0.731 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01639/1.706, allocations: 8.044 MB / 0.7389 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.706, allocations: 7.094 kB / 0.7389 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007081/1.713, allocations: 3.985 MB / 0.7428 GB, free: 157 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/1.723, allocations: 1.003 MB / 0.7437 GB, free: 156.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/1.756, allocations: 22.23 MB / 0.7654 GB, free: 144.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007398/1.764, allocations: 6.336 MB / 0.7716 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.766, allocations: 423.3 kB / 0.772 GB, free: 139.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/1.766, allocations: 4 kB / 0.772 GB, free: 139.7 MB / 494.1 MB Notification: Performance of Templates: time 0.4345/2.2, allocations: 226.2 MB / 0.9929 GB, free: 87.4 MB / 494.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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