Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09704, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01147/0.1085, allocations: 9.626 MB / 428.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.1139, allocations: 3.123 MB / 431.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.1148, allocations: 31.94 kB / 431.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1163, allocations: 0.6095 MB / 432.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1177, allocations: 0.5893 MB / 433 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.1184, allocations: 319.5 kB / 433.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.1203, allocations: 1.763 MB / 435 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.121, allocations: 448.9 kB / 435.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008408/0.1219, allocations: 0.6732 MB / 436.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.1228, allocations: 0.7467 MB / 436.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.123, allocations: 160 kB / 437 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.1234, allocations: 196 kB / 437.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.1237, allocations: 330.8 kB / 437.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007924/0.1245, allocations: 0.8087 MB / 438.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.1267, allocations: 1.984 MB / 440.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1267, allocations: 0 / 440.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1267, allocations: 0 / 440.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.1267, allocations: 4 kB / 440.4 MB, free: 6.566 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003243/0.1299, allocations: 1.834 MB / 442.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.13, allocations: 8.031 kB / 442.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/0.1306, allocations: 211.8 kB / 442.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.1319, allocations: 0.8414 MB / 443.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1321, allocations: 116.3 kB / 443.4 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1323, allocations: 116.1 kB / 443.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1343, allocations: 1.144 MB / 444.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.1343, allocations: 3.953 kB / 444.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.1344, allocations: 48 kB / 444.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1345, allocations: 24 kB / 444.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.1361, allocations: 0.7651 MB / 445.5 MB, free: 1.25 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2133/0.3494, allocations: 3.913 MB / 449.4 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3508, allocations: 0.5548 MB / 449.9 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.3513, allocations: 242.6 kB / 450.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.3513, allocations: 11.23 kB / 450.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.3519, allocations: 300.1 kB / 450.5 MB, free: 28.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.776e-06/0.3519, allocations: 0 / 450.5 MB, free: 28.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004467/0.3563, allocations: 2.094 MB / 452.6 MB, free: 27.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.3564, allocations: 476 kB / 453 MB, free: 27.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3579, allocations: 1.101 MB / 454.1 MB, free: 27.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.358, allocations: 41.95 kB / 454.2 MB, free: 26.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.3584, allocations: 0.6647 MB / 454.8 MB, free: 26.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.3586, allocations: 239.3 kB / 455.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.3589, allocations: 203.3 kB / 455.3 MB, free: 26.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.359, allocations: 347.1 kB / 455.6 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.3595, allocations: 249.9 kB / 455.8 MB, free: 25.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.3604, allocations: 0.7068 MB / 456.6 MB, free: 25.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3616, allocations: 0.9433 MB / 457.5 MB, free: 24.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.3617, allocations: 4.594 kB / 457.5 MB, free: 24.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002144/0.3638, allocations: 1.136 MB / 458.6 MB, free: 23.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.3638, allocations: 71.59 kB / 458.7 MB, free: 23.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.3639, allocations: 11.53 kB / 458.7 MB, free: 23.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.3645, allocations: 169.3 kB / 458.9 MB, free: 23.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.3652, allocations: 203.9 kB / 459.1 MB, free: 23.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.369, allocations: 3.895 MB / 463 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.3701, allocations: 64.27 kB / 463 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.3702, allocations: 46.53 kB / 463.1 MB, free: 20.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004718/0.3706, allocations: 293.4 kB / 463.4 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3708, allocations: 128.5 kB / 463.5 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3723, allocations: 0.6954 MB / 464.2 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3723, allocations: 6.656 kB / 464.2 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3723, allocations: 4.5 kB / 464.2 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/0.3735, allocations: 0.9579 MB / 465.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.3764, allocations: 1.788 MB / 466.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3764, allocations: 2.906 kB / 467 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.3769, allocations: 102.7 kB / 467.1 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.3774, allocations: 131.4 kB / 467.2 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.3774, allocations: 15 kB / 467.2 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.3802, allocations: 3.598 MB / 470.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3802, allocations: 3.547 kB / 470.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.3821, allocations: 1.044 MB / 471.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.3826, allocations: 263.9 kB / 472.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.3828, allocations: 16.2 kB / 472.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/0.3834, allocations: 34.62 kB / 472.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3836, allocations: 69.25 kB / 472.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.3836, allocations: 19.09 kB / 472.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.3848, allocations: 0.7449 MB / 473 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 2.078 kB / 473 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001406/0.3862, allocations: 305.1 kB / 473.3 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * 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 (52): * Single equations (assignments): 48 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.3864, allocations: 139.7 kB / 473.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.3886, allocations: 1.057 MB / 474.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3886, allocations: 5.188 kB / 474.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.3895, allocations: 0.5373 MB / 475 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.391, allocations: 335.2 kB / 475.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.3949, allocations: 2.284 MB / 477.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.3955, allocations: 1.087 MB / 478.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.3958, allocations: 85.11 kB / 478.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3958, allocations: 1.188 kB / 478.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of Templates: time 0.03497/0.4307, allocations: 26.43 MB / 0.4934 GB, free: 5.215 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 13.17538184300065]