Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 119.1 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.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=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 48.05 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1194, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2524/0.3717, allocations: 25 MB / 452.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01981/0.3915, allocations: 8.085 MB / 460.6 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006696/0.3982, allocations: 217.5 kB / 460.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02178/0.42, allocations: 8.464 MB / 469.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.4319, allocations: 3.082 MB / 472.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.438, allocations: 1.825 MB / 474.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01702/0.4551, allocations: 11.22 MB / 485.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03215/0.4872, allocations: 17.41 MB / 0.4911 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.5013, allocations: 6.024 MB / 0.4969 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01275/0.5141, allocations: 6.541 MB / 0.5033 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005344/0.5194, allocations: 1.715 MB / 0.505 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.5295, allocations: 2.16 MB / 0.5071 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007397/0.5369, allocations: 3.406 MB / 0.5104 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01553/0.5524, allocations: 6.362 MB / 0.5166 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03701/0.5894, allocations: 23.19 MB / 0.5393 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.5894, allocations: 3.938 kB / 0.5393 GB, free: 3.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5894, allocations: 0 / 0.5393 GB, free: 3.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008594/0.5903, allocations: 0 / 0.5393 GB, free: 3.625 MB / 446.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.05257/0.6428, allocations: 13.65 MB / 0.5526 GB, free: 5.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6429, allocations: 8.031 kB / 0.5526 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03777/0.6807, allocations: 6.248 MB / 0.5587 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/0.6979, allocations: 7.305 MB / 0.5659 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008913/0.6988, allocations: 0.7146 MB / 0.5666 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004763/0.7036, allocations: 0.9452 MB / 0.5675 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04755/0.7511, allocations: 16.17 MB / 0.5833 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003554/0.7515, allocations: 19.89 kB / 0.5833 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003496/0.755, allocations: 403.9 kB / 0.5837 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007102/0.7557, allocations: 0.5591 MB / 0.5842 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03563/0.7913, allocations: 15.15 MB / 0.599 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5829/1.374, allocations: 52.64 MB / 0.6504 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.393, allocations: 19.7 MB / 0.6697 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006314/1.4, allocations: 3.325 MB / 0.6729 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005375/1.4, allocations: 296.7 kB / 0.6732 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/1.4, allocations: 83.08 kB / 0.6733 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 5.941e-06/1.4, allocations: 0 / 0.6733 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05164/1.452, allocations: 20.76 MB / 0.6935 GB, free: 95.66 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/1.452, allocations: 100.1 kB / 0.6936 GB, free: 95.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/1.458, allocations: 4.51 MB / 0.698 GB, free: 93.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.459, allocations: 101.9 kB / 0.6981 GB, free: 93.21 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.462, allocations: 4.343 MB / 0.7024 GB, free: 90.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001842/1.464, allocations: 1.612 MB / 0.704 GB, free: 88.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/1.465, allocations: 1.206 MB / 0.7051 GB, free: 87.95 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/1.465, allocations: 313 kB / 0.7054 GB, free: 87.64 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/1.47, allocations: 3.071 MB / 0.7084 GB, free: 85.49 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005084/1.475, allocations: 5.212 MB / 0.7135 GB, free: 79.31 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.485, allocations: 8.891 MB / 0.7222 GB, free: 69.45 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.367e-05/1.485, allocations: 24 kB / 0.7222 GB, free: 69.42 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01748/1.502, allocations: 9.857 MB / 0.7319 GB, free: 59.55 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/1.502, allocations: 42.06 kB / 0.7319 GB, free: 59.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/1.503, allocations: 68 kB / 0.732 GB, free: 59.44 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/1.506, allocations: 1.407 MB / 0.7333 GB, free: 58.03 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005439/1.512, allocations: 1.392 MB / 0.7347 GB, free: 56.64 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.527, allocations: 12.68 MB / 0.7471 GB, free: 43.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/1.533, allocations: 351.5 kB / 0.7474 GB, free: 43.35 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/1.535, allocations: 300 kB / 0.7477 GB, free: 43.05 MB / 0.5138 GB 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008544/1.543, allocations: 3.897 MB / 0.7515 GB, free: 39.14 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/1.545, allocations: 480.9 kB / 0.752 GB, free: 38.67 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.563, allocations: 8.46 MB / 0.7602 GB, free: 30.16 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0101/1.573, allocations: 6.236 MB / 0.7663 GB, free: 23.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.573, allocations: 12 kB / 0.7663 GB, free: 23.89 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.467e-05/1.573, allocations: 23.91 kB / 0.7664 GB, free: 23.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03359/1.607, allocations: 17.4 MB / 0.7833 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.607, allocations: 11.94 kB / 0.7834 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/1.61, allocations: 0.8113 MB / 0.7841 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.614, allocations: 1.286 MB / 0.7854 GB, free: 4.25 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009295/1.615, allocations: 104 kB / 0.7855 GB, free: 4.148 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.632, allocations: 11.57 MB / 0.7968 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-05/1.632, allocations: 16.17 kB / 0.7968 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/1.654, allocations: 11.19 MB / 0.8078 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/1.658, allocations: 1.126 MB / 0.8089 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/1.659, allocations: 95.98 kB / 0.8089 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.662, allocations: 223.8 kB / 0.8092 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000965/1.663, allocations: 335.5 kB / 0.8095 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004376/1.664, allocations: 148 kB / 0.8096 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006603/1.67, allocations: 3.115 MB / 0.8127 GB, free: 7.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/1.67, allocations: 0 / 0.8127 GB, free: 7.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01027/1.681, allocations: 1.723 MB / 0.8143 GB, free: 6.18 MB / 0.545 GB 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002971/1.684, allocations: 0.5384 MB / 0.8149 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01952/1.703, allocations: 7.683 MB / 0.8224 GB, free: 14.07 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/1.703, allocations: 0 / 0.8224 GB, free: 14.07 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.713, allocations: 3.702 MB / 0.826 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/1.723, allocations: 1.049 MB / 0.827 GB, free: 9.332 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3123/2.036, allocations: 17.94 MB / 0.8445 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01706/2.053, allocations: 6.33 MB / 0.8507 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/2.055, allocations: 451.5 kB / 0.8511 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.693e-06/2.055, allocations: 0 / 0.8511 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.539/2.594, allocations: 230.5 MB / 1.076 GB, free: 171.4 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.963938844011864]