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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 85.66 kB / 20.5 MB, free: 1.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 159.1 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 177.1 MB / 204 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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=100000,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=100000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 62.09 kB / 324.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1036, allocations: 53.38 MB / 378.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02707/0.1306, allocations: 21.48 MB / 399.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1471, allocations: 7.754 MB / 407.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005776/0.1529, allocations: 214.9 kB / 407.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02223/0.1751, allocations: 8.225 MB / 415.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.1854, allocations: 3.07 MB / 419 MB, free: 6.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.1911, allocations: 1.828 MB / 420.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01563/0.2067, allocations: 11.35 MB / 432.1 MB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02358/0.2303, allocations: 14.47 MB / 446.6 MB, free: 11.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01526/0.2456, allocations: 9.15 MB / 455.7 MB, free: 1.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.2573, allocations: 6.268 MB / 462 MB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004097/0.2614, allocations: 1.711 MB / 463.7 MB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.2672, allocations: 2.132 MB / 465.9 MB, free: 7.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004685/0.2718, allocations: 3.406 MB / 469.3 MB, free: 4.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2078/0.4796, allocations: 4.91 MB / 474.2 MB, free: 41.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02629/0.5059, allocations: 23.29 MB / 497.5 MB, free: 37.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.5059, allocations: 1.406 kB / 497.5 MB, free: 37.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5059, allocations: 0 / 497.5 MB, free: 37.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006183/0.5065, allocations: 0 / 497.5 MB, free: 37.58 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04378/0.5503, allocations: 13.56 MB / 0.4991 GB, free: 29.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5504, allocations: 12.48 kB / 0.4991 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03569/0.5861, allocations: 6.254 MB / 0.5052 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.6011, allocations: 7.372 MB / 0.5124 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005777/0.6017, allocations: 0.7191 MB / 0.5131 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004149/0.6059, allocations: 0.9426 MB / 0.514 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03717/0.643, allocations: 16.31 MB / 0.5299 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000359/0.6434, allocations: 11.52 kB / 0.5299 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/0.6466, allocations: 404.1 kB / 0.5303 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004425/0.647, allocations: 0.5669 MB / 0.5309 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03268/0.6797, allocations: 15.06 MB / 0.5456 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09362/0.7733, allocations: 45.43 MB / 0.59 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.7903, allocations: 8.539 MB / 0.5983 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005993/0.7963, allocations: 3.327 MB / 0.6015 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/0.7967, allocations: 119.3 kB / 0.6017 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.329e-05/0.7968, allocations: 82.05 kB / 0.6017 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=447): time 7.684e-06/0.7968, allocations: 0 / 0.6017 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452): time 0.05489/0.8517, allocations: 20.34 MB / 0.6216 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.8517, allocations: 98.95 kB / 0.6217 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007817/0.8596, allocations: 4.412 MB / 0.626 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000786/0.8604, allocations: 97.7 kB / 0.6261 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003663/0.864, allocations: 4.346 MB / 0.6303 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/0.8662, allocations: 1.608 MB / 0.6319 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002345/0.8685, allocations: 1.212 MB / 0.6331 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8687, allocations: 309.1 kB / 0.6334 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/0.8744, allocations: 3.057 MB / 0.6364 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007745/0.8821, allocations: 5.246 MB / 0.6415 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/0.8963, allocations: 8.871 MB / 0.6502 GB, free: 11.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.58e-05/0.8964, allocations: 20 kB / 0.6502 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0204/0.9168, allocations: 9.822 MB / 0.6598 GB, free: 1.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.9169, allocations: 36 kB / 0.6598 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/0.917, allocations: 68 kB / 0.6599 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.9209, allocations: 1.366 MB / 0.6612 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/0.9267, allocations: 1.392 MB / 0.6626 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.9461, allocations: 12.06 MB / 0.6743 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/0.9509, allocations: 355.5 kB / 0.6747 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/0.9522, allocations: 303.9 kB / 0.675 GB, free: 2.008 MB / 0.5606 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.2167/1.169, allocations: 3.883 MB / 0.6788 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.17, allocations: 463.7 kB / 0.6792 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.183, allocations: 8.424 MB / 0.6874 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008588/1.191, allocations: 6.206 MB / 0.6935 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.191, allocations: 11.88 kB / 0.6935 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/1.191, allocations: 24.23 kB / 0.6935 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/1.215, allocations: 14.94 MB / 0.7081 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.215, allocations: 9.281 kB / 0.7081 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/1.218, allocations: 0.8154 MB / 0.7089 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/1.221, allocations: 1.244 MB / 0.7101 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/1.221, allocations: 119.2 kB / 0.7102 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/1.234, allocations: 10.97 MB / 0.721 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.234, allocations: 15.88 kB / 0.721 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.248, allocations: 11.15 MB / 0.7319 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.251, allocations: 1.036 MB / 0.7329 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/1.251, allocations: 95.98 kB / 0.733 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.253, allocations: 226.5 kB / 0.7332 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/1.254, allocations: 351.2 kB / 0.7335 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.254, allocations: 145.5 kB / 0.7336 GB, free: 161 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003491/1.258, allocations: 2.951 MB / 0.7365 GB, free: 158 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.258, allocations: 3.156 kB / 0.7365 GB, free: 158 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005246/1.263, allocations: 1.721 MB / 0.7382 GB, free: 156.3 MB / 0.5606 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.001744/1.264, allocations: 0.5436 MB / 0.7387 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.275, allocations: 7.66 MB / 0.7462 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.275, allocations: 448 / 0.7462 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005113/1.28, allocations: 3.681 MB / 0.7498 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/1.284, allocations: 0.9532 MB / 0.7507 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.309, allocations: 18.31 MB / 0.7686 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006295/1.315, allocations: 6.075 MB / 0.7746 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004882/1.32, allocations: 2.09 MB / 0.7766 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.321, allocations: 396.4 kB / 0.777 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.321, allocations: 0 / 0.777 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.09969/1.421, allocations: 66.67 MB / 0.8421 GB, free: 50.58 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.84775311499834]