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.001292/0.001292, allocations: 108.8 kB / 21.18 MB, free: 0.7617 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.001381/0.001381, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.416/1.416, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.001742/0.001742, allocations: 47.92 kB / 371.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01247/0.2454, allocations: 9.678 MB / 433.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.2518, allocations: 3.127 MB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.2531, allocations: 31.88 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2551, allocations: 0.6173 MB / 437.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.2572, allocations: 0.5815 MB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2583, allocations: 327.4 kB / 438.3 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.2612, allocations: 1.762 MB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.2622, allocations: 457.3 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.2635, allocations: 0.6927 MB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.2649, allocations: 0.7389 MB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.2654, allocations: 160 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.2661, allocations: 204 kB / 442.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.2665, allocations: 334.8 kB / 442.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2678, allocations: 0.8049 MB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.271, allocations: 1.984 MB / 445.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.271, allocations: 0 / 445.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.271, allocations: 3.938 kB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.288e-05/0.2711, allocations: 4 kB / 445.4 MB, free: 9.09 MB / 350.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.004737/0.2758, allocations: 1.759 MB / 447.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.2759, allocations: 12.03 kB / 447.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/0.2768, allocations: 203.9 kB / 447.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.2788, allocations: 0.7602 MB / 448.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.279, allocations: 171.8 kB / 448.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.2793, allocations: 116.1 kB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.2817, allocations: 1.146 MB / 449.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.2817, allocations: 3.953 kB / 449.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2818, allocations: 44 kB / 449.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.2819, allocations: 32 kB / 449.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.2836, allocations: 0.7574 MB / 450.4 MB, free: 3.898 MB / 350.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.006979/0.2905, allocations: 3.817 MB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.2922, allocations: 0.5508 MB / 454.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.2927, allocations: 243.4 kB / 455 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.2928, allocations: 16.48 kB / 455 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.2935, allocations: 294.2 kB / 455.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.327e-06/0.2935, allocations: 0 / 455.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004975/0.2984, allocations: 1.857 MB / 457.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002729/0.2987, allocations: 483.3 kB / 457.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.3006, allocations: 1.101 MB / 458.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.3007, allocations: 57.62 kB / 458.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/0.3013, allocations: 0.6521 MB / 459.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.3016, allocations: 245.9 kB / 459.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.3019, allocations: 198.8 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3021, allocations: 341.9 kB / 460.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.3027, allocations: 250.5 kB / 460.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3037, allocations: 0.7095 MB / 461.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3053, allocations: 0.9372 MB / 462.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/0.3053, allocations: 11.94 kB / 462.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002432/0.3078, allocations: 1.138 MB / 463.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.3078, allocations: 59.41 kB / 463.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3079, allocations: 12.38 kB / 463.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.3085, allocations: 173.5 kB / 463.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.3093, allocations: 203.7 kB / 463.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/0.3143, allocations: 3.685 MB / 467.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.3154, allocations: 68.02 kB / 467.4 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.3155, allocations: 47.94 kB / 467.5 MB, free: 1.754 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.0006047/0.3161, allocations: 293.7 kB / 467.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.3164, allocations: 127.2 kB / 467.9 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.318, allocations: 0.7099 MB / 468.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.318, allocations: 4 kB / 468.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.318, allocations: 0 / 468.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.3195, allocations: 0.9552 MB / 469.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.3229, allocations: 1.756 MB / 471.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3229, allocations: 0 / 471.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.3234, allocations: 112.1 kB / 471.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.3239, allocations: 121.6 kB / 471.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.324, allocations: 15.98 kB / 471.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.3278, allocations: 3.395 MB / 474.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3278, allocations: 4 kB / 474.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.3299, allocations: 1.053 MB / 476 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.3304, allocations: 175.2 kB / 476.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.3307, allocations: 20 kB / 476.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.3314, allocations: 35.97 kB / 476.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.3315, allocations: 64.27 kB / 476.3 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3316, allocations: 20 kB / 476.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.3328, allocations: 0.7484 MB / 477.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3328, allocations: 0 / 477.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001151/0.3339, allocations: 308 kB / 477.4 MB, free: 7.375 MB / 382.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.0002407/0.3342, allocations: 139 kB / 477.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.3364, allocations: 1.06 MB / 478.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.3364, allocations: 4.938 kB / 478.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3374, allocations: 0.5312 MB / 479.1 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.3389, allocations: 332 kB / 479.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.3432, allocations: 2.299 MB / 481.7 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/0.344, allocations: 1.085 MB / 482.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.3443, allocations: 79.44 kB / 482.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3443, allocations: 4 kB / 482.9 MB, free: 1.672 MB / 382.1 MB Notification: Performance of Templates: time 0.03667/0.381, allocations: 26.42 MB / 0.4974 GB, free: 7.355 MB / 414.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/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/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 13.093682931968942]