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.0009673/0.0009673, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001076/0.001076, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8995/0.8995, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.212e-06/1.212e-06, allocations: 0 / 274.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.368e-05, allocations: 2.312 kB / 274.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01838/0.01841, allocations: 23.38 MB / 297.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.0324, allocations: 7.925 MB / 305.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.03679, allocations: 218.9 kB / 305.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.04806, allocations: 8.664 MB / 314.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.05684, allocations: 3.142 MB / 317.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.061, allocations: 1.829 MB / 319.4 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01252/0.07352, allocations: 11.71 MB / 331.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1534/0.2269, allocations: 14.53 MB / 345.6 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/0.2419, allocations: 9.048 MB / 354.7 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009117/0.251, allocations: 6.413 MB / 361.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004189/0.2552, allocations: 1.71 MB / 362.8 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005403/0.2606, allocations: 2.151 MB / 365 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.2646, allocations: 3.509 MB / 368.5 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008952/0.2736, allocations: 4.269 MB / 372.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.2863, allocations: 10.87 MB / 383.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2864, allocations: 0 / 383.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2864, allocations: 0 / 383.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004575/0.2868, allocations: 2.906 kB / 383.6 MB, free: 13.66 MB / 314.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.02012/0.3069, allocations: 13.41 MB / 397 MB, free: 1.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.307, allocations: 8.031 kB / 397 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.3256, allocations: 6.103 MB / 403.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.3361, allocations: 6.558 MB / 409.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005391/0.3366, allocations: 0.7229 MB / 410.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.3394, allocations: 0.9566 MB / 411.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.3581, allocations: 7.77 MB / 419.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/0.3583, allocations: 19.56 kB / 419.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.3598, allocations: 402.4 kB / 419.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004567/0.3602, allocations: 0.5591 MB / 420.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.371, allocations: 3.689 MB / 423.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06037/0.4314, allocations: 41.25 MB / 465.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007032/0.4384, allocations: 5.714 MB / 470.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.4403, allocations: 1.33 MB / 472.1 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.4406, allocations: 143.4 kB / 472.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.4407, allocations: 88.83 kB / 472.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 6.122e-06/0.4407, allocations: 0 / 472.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.02257/0.4632, allocations: 10.73 MB / 483.1 MB, free: 13.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4633, allocations: 98.95 kB / 483.1 MB, free: 13.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.467, allocations: 3.778 MB / 486.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.4673, allocations: 97.7 kB / 487 MB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.4697, allocations: 4.64 MB / 491.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.4708, allocations: 1.658 MB / 493.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.4721, allocations: 1.355 MB / 494.7 MB, free: 2.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4722, allocations: 476.8 kB / 495.1 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4733, allocations: 0.738 MB / 495.9 MB, free: 1.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2478/0.7211, allocations: 4 MB / 499.9 MB, free: 92.54 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.726, allocations: 5.383 MB / 0.4934 GB, free: 88.78 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-05/0.7261, allocations: 18.94 kB / 0.4934 GB, free: 88.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007237/0.7333, allocations: 5.187 MB / 0.4985 GB, free: 88.54 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.7333, allocations: 33.81 kB / 0.4985 GB, free: 88.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.77e-05/0.7334, allocations: 71.06 kB / 0.4986 GB, free: 88.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.7359, allocations: 1.225 MB / 0.4998 GB, free: 88.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.7386, allocations: 1.279 MB / 0.501 GB, free: 88.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/0.7456, allocations: 8.369 MB / 0.5092 GB, free: 84.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.7485, allocations: 222.2 kB / 0.5094 GB, free: 84.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/0.749, allocations: 250.8 kB / 0.5097 GB, free: 84.47 MB / 410.8 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 (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.002025/0.751, allocations: 0.5471 MB / 0.5102 GB, free: 84.31 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/0.7518, allocations: 0.6022 MB / 0.5108 GB, free: 84.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/0.7575, allocations: 5.147 MB / 0.5158 GB, free: 83.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003362/0.7609, allocations: 2.589 MB / 0.5183 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.7609, allocations: 10.5 kB / 0.5184 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/0.7609, allocations: 22.75 kB / 0.5184 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.7766, allocations: 11.57 MB / 0.5297 GB, free: 82.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7766, allocations: 8.156 kB / 0.5297 GB, free: 82.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.7782, allocations: 0.7038 MB / 0.5304 GB, free: 82.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.7804, allocations: 1.112 MB / 0.5315 GB, free: 82.31 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.7806, allocations: 110.6 kB / 0.5316 GB, free: 82.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006234/0.7869, allocations: 7.92 MB / 0.5393 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7869, allocations: 10.66 kB / 0.5393 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006261/0.7931, allocations: 4.793 MB / 0.544 GB, free: 74.91 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.7946, allocations: 0.8654 MB / 0.5448 GB, free: 74.45 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.7951, allocations: 93.38 kB / 0.5449 GB, free: 74.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7961, allocations: 112.3 kB / 0.545 GB, free: 74.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004922/0.7966, allocations: 356 kB / 0.5454 GB, free: 74.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.7968, allocations: 105.6 kB / 0.5455 GB, free: 74.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001709/0.7985, allocations: 1.689 MB / 0.5471 GB, free: 73.13 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7985, allocations: 2.078 kB / 0.5471 GB, free: 73.13 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004936/0.8034, allocations: 1.713 MB / 0.5488 GB, free: 71.43 MB / 410.8 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 (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.00124/0.8046, allocations: 0.5154 MB / 0.5493 GB, free: 71.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006041/0.8107, allocations: 4.216 MB / 0.5534 GB, free: 67.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.8107, allocations: 4.125 kB / 0.5534 GB, free: 67.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.8138, allocations: 2.338 MB / 0.5557 GB, free: 65.78 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.8171, allocations: 0.9805 MB / 0.5567 GB, free: 64.97 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/0.8364, allocations: 14.87 MB / 0.5712 GB, free: 50.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.8388, allocations: 2.75 MB / 0.5739 GB, free: 48.19 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002397/0.8412, allocations: 0.7275 MB / 0.5746 GB, free: 47.46 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.8428, allocations: 1.045 MB / 0.5756 GB, free: 46.41 MB / 410.8 MB Notification: Performance of SimCode: time 2.004e-06/0.8428, allocations: 4 kB / 0.5756 GB, free: 46.41 MB / 410.8 MB Notification: Performance of Templates: time 0.2418/1.085, allocations: 72.53 MB / 0.6464 GB, free: 112.1 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.761124298907816]