Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.001106/0.001106, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001242/0.001242, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9288/0.9288, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.647e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01142/0.01145, allocations: 10.16 MB / 309.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.01749, allocations: 3.056 MB / 312.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.01875, allocations: 43.81 kB / 313 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.02013, allocations: 0.6283 MB / 313.6 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.02183, allocations: 0.7558 MB / 314.4 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.0225, allocations: 407.4 kB / 314.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.02457, allocations: 2.346 MB / 317.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.02537, allocations: 0.6068 MB / 317.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.02703, allocations: 1.309 MB / 319 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.02789, allocations: 0.6503 MB / 319.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02809, allocations: 216 kB / 319.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.02841, allocations: 260 kB / 320.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.02862, allocations: 438.3 kB / 320.6 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.02914, allocations: 0.6976 MB / 321.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.03108, allocations: 2.683 MB / 323.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.03109, allocations: 0 / 323.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.03109, allocations: 0 / 323.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.03113, allocations: 3.938 kB / 323.9 MB, free: 14.51 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00272/0.03385, allocations: 2.018 MB / 326 MB, free: 12.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.0339, allocations: 12.02 kB / 326 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.03438, allocations: 267.6 kB / 326.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.03572, allocations: 0.964 MB / 327.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.03578, allocations: 115.5 kB / 327.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.03592, allocations: 160.3 kB / 327.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.03766, allocations: 1.592 MB / 329.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.0377, allocations: 19.94 kB / 329.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.03778, allocations: 64 kB / 329.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.0378, allocations: 40 kB / 329.2 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.03905, allocations: 0.9668 MB / 330.2 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.04428, allocations: 5.701 MB / 335.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.04483, allocations: 372.9 kB / 336.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.0451, allocations: 202.3 kB / 336.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.04512, allocations: 4.5 kB / 336.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.04548, allocations: 333.1 kB / 336.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.04548, allocations: 0 / 336.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002164/0.04765, allocations: 1.54 MB / 338.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.04772, allocations: 166.7 kB / 338.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.04873, allocations: 1.114 MB / 339.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.04876, allocations: 41.64 kB / 339.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.0492, allocations: 0.8967 MB / 340.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.0493, allocations: 214.2 kB / 340.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.04949, allocations: 214.8 kB / 340.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.04959, allocations: 353.9 kB / 341.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.04987, allocations: 260.2 kB / 341.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.05047, allocations: 0.9289 MB / 342.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.05131, allocations: 1.118 MB / 343.6 MB, free: 9.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.05132, allocations: 12 kB / 343.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001172/0.05249, allocations: 1.193 MB / 344.8 MB, free: 8.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.05253, allocations: 37.7 kB / 344.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.05255, allocations: 20 kB / 344.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.05272, allocations: 61.7 kB / 344.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.05316, allocations: 272 kB / 345.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.05453, allocations: 2.52 MB / 347.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.05511, allocations: 68.2 kB / 347.7 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.05516, allocations: 63.98 kB / 347.8 MB, free: 5.152 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.05566, allocations: 361.2 kB / 348.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.05575, allocations: 119.2 kB / 348.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.05641, allocations: 0.5302 MB / 348.8 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.05641, allocations: 11.94 kB / 348.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.05642, allocations: 0 / 348.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.05642, allocations: 3.984 kB / 348.8 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.0581, allocations: 1.548 MB / 350.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.0581, allocations: 4 kB / 350.4 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.05834, allocations: 103.9 kB / 350.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.583e-05/0.05844, allocations: 42.11 kB / 350.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.05846, allocations: 27.98 kB / 350.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1521/0.2106, allocations: 2.48 MB / 353 MB, free: 58.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.2106, allocations: 6 kB / 353 MB, free: 58.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.212, allocations: 0.9056 MB / 353.9 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.2125, allocations: 160.2 kB / 354.1 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2126, allocations: 16.11 kB / 354.1 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2129, allocations: 29.62 kB / 354.1 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2131, allocations: 61.12 kB / 354.2 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.2131, allocations: 19.75 kB / 354.2 MB, free: 57.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008316/0.2139, allocations: 0.7146 MB / 354.9 MB, free: 57.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2139, allocations: 0 / 354.9 MB, free: 57.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.2149, allocations: 301.9 kB / 355.2 MB, free: 57.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.2151, allocations: 130.2 kB / 355.3 MB, free: 57.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2164, allocations: 0.9268 MB / 356.3 MB, free: 57.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2164, allocations: 1.094 kB / 356.3 MB, free: 57.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.2168, allocations: 449.1 kB / 356.7 MB, free: 56.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.2177, allocations: 314.7 kB / 357 MB, free: 56.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.2207, allocations: 2.445 MB / 359.5 MB, free: 55.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.2213, allocations: 0.5947 MB / 360.1 MB, free: 55.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.2215, allocations: 89.38 kB / 360.1 MB, free: 55.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2215, allocations: 0 / 360.1 MB, free: 55.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02843/0.2499, allocations: 31.63 MB / 391.8 MB, free: 29.66 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStationary/DCPM_QuasiStationary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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: 6.349833868443966]