Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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.00127/0.00127, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001439/0.001439, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.81 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2215, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.01343/0.2349, allocations: 11.84 MB / 443.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.2407, allocations: 3.261 MB / 447.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.2419, allocations: 43.88 kB / 447.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2436, allocations: 0.6691 MB / 447.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2455, allocations: 0.7212 MB / 448.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.2463, allocations: 407.4 kB / 449 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.2489, allocations: 2.238 MB / 451.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009914/0.2499, allocations: 0.6571 MB / 451.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.2512, allocations: 0.8599 MB / 452.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.2523, allocations: 0.91 MB / 453.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.2526, allocations: 216 kB / 453.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.253, allocations: 260 kB / 454.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.2534, allocations: 426.4 kB / 454.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009638/0.2543, allocations: 1.019 MB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.2572, allocations: 2.685 MB / 458.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2572, allocations: 3.938 kB / 458.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2572, allocations: 0 / 458.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.2572, allocations: 4 kB / 458.3 MB, free: 13.02 MB / 366.1 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.003677/0.2609, allocations: 2.113 MB / 460.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2609, allocations: 8.031 kB / 460.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/0.2617, allocations: 267.6 kB / 460.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.2635, allocations: 1.049 MB / 461.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.2636, allocations: 111.5 kB / 461.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.2638, allocations: 163.9 kB / 462 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.2663, allocations: 1.487 MB / 463.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.2663, allocations: 15.94 kB / 463.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.2664, allocations: 64 kB / 463.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.2665, allocations: 36 kB / 463.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.2684, allocations: 0.9785 MB / 464.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008385/0.2768, allocations: 6.545 MB / 471.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.2776, allocations: 377.6 kB / 471.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.278, allocations: 198.1 kB / 471.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.2781, allocations: 4.438 kB / 471.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.2786, allocations: 272.8 kB / 471.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.324e-06/0.2786, allocations: 3.938 kB / 471.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.003402/0.282, allocations: 1.788 MB / 473.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2821, allocations: 170.8 kB / 473.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.2838, allocations: 1.273 MB / 475.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2839, allocations: 37.7 kB / 475.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/0.2846, allocations: 0.8895 MB / 476.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.2848, allocations: 222.2 kB / 476.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.2851, allocations: 222.7 kB / 476.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2853, allocations: 349.9 kB / 476.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2858, allocations: 234.5 kB / 477.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.2867, allocations: 0.7995 MB / 477.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.2882, allocations: 1.122 MB / 479 MB, free: 6.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.2882, allocations: 8 kB / 479 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002104/0.2903, allocations: 1.17 MB / 480.2 MB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.2903, allocations: 45.7 kB / 480.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.2904, allocations: 20 kB / 480.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.2906, allocations: 70.19 kB / 480.3 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.2914, allocations: 271.5 kB / 480.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.2936, allocations: 2.774 MB / 483.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.2946, allocations: 67.92 kB / 483.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.2947, allocations: 60 kB / 483.5 MB, free: 2.199 MB / 382.1 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.0005815/0.2953, allocations: 372.5 kB / 483.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.2955, allocations: 139.1 kB / 484 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.2965, allocations: 0.5489 MB / 484.5 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2965, allocations: 0 / 484.5 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2965, allocations: 4 kB / 484.5 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.297, allocations: 260.1 kB / 484.8 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2971, allocations: 12 kB / 484.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.2976, allocations: 31.97 kB / 484.8 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2977, allocations: 36.45 kB / 484.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001278/0.2989, allocations: 0.5707 MB / 485.4 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001358/0.3003, allocations: 0.8745 MB / 486.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003343/0.3006, allocations: 164.6 kB / 486.5 MB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.3019, allocations: 0.8461 MB / 487.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of Backend: time 2.8e-07/0.3019, allocations: 3.938 kB / 487.3 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.3038, allocations: 0.8688 MB / 488.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 0.004798/0.3086, allocations: 3.168 MB / 491.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of Templates: time 0.03124/0.3398, allocations: 16.61 MB / 0.4961 GB, free: 9.715 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStatic/DCPM_QuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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: 4.9239908256568015]