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.001801/0.001801, allocations: 81.11 kB / 20.68 MB, free: 1.027 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.001944/0.001944, allocations: 145.7 kB / 23.94 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.429/1.429, allocations: 173.3 MB / 200.4 MB, free: 12.86 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 1.283e-06/1.283e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.13e-05, allocations: 2.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009193/0.009214, allocations: 8.442 MB / 327.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.01588, allocations: 2.93 MB / 330.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.01768, allocations: 34.84 kB / 330.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.01988, allocations: 0.5685 MB / 330.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.02221, allocations: 0.6056 MB / 331.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.02317, allocations: 324.9 kB / 331.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.0261, allocations: 1.845 MB / 333.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/0.0269, allocations: 422.4 kB / 334.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.0285, allocations: 1.035 MB / 335.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.02937, allocations: 0.5358 MB / 335.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.02958, allocations: 158.6 kB / 335.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.03001, allocations: 193 kB / 336 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.03033, allocations: 343.3 kB / 336.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.031, allocations: 0.5612 MB / 336.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.03334, allocations: 2.01 MB / 338.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.03334, allocations: 0 / 338.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.03335, allocations: 5.219 kB / 338.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.03337, allocations: 0 / 338.9 MB, free: 6.629 MB / 302.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.003401/0.03677, allocations: 1.743 MB / 340.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.03681, allocations: 10.2 kB / 340.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.03742, allocations: 202.6 kB / 340.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.03886, allocations: 0.7689 MB / 341.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.03905, allocations: 163.2 kB / 341.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.03923, allocations: 120.8 kB / 341.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.04148, allocations: 1.573 MB / 343.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.04151, allocations: 11.89 kB / 343.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.04162, allocations: 51.98 kB / 343.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.04164, allocations: 24 kB / 343.6 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.04321, allocations: 0.7496 MB / 344.3 MB, free: 1.906 MB / 302.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.005707/0.04892, allocations: 3.2 MB / 347.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.05054, allocations: 0.5542 MB / 348.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.05107, allocations: 242.7 kB / 348.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.05111, allocations: 5.062 kB / 348.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006359/0.05175, allocations: 331.8 kB / 348.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.05175, allocations: 0 / 348.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004816/0.05656, allocations: 1.841 MB / 350.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002772/0.05684, allocations: 483.3 kB / 351 MB, free: 10.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.0582, allocations: 0.9595 MB / 351.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.05826, allocations: 45.7 kB / 352 MB, free: 9.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.05883, allocations: 0.6673 MB / 352.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.05903, allocations: 234 kB / 352.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.05934, allocations: 202.8 kB / 353.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.0595, allocations: 353.9 kB / 353.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.06011, allocations: 293.9 kB / 353.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.06151, allocations: 1.173 MB / 354.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.06308, allocations: 0.9373 MB / 355.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.06309, allocations: 4 kB / 355.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002268/0.06536, allocations: 1.181 MB / 357 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.06542, allocations: 63.41 kB / 357 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.06543, allocations: 12 kB / 357.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/0.06614, allocations: 173.6 kB / 357.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.06684, allocations: 203.7 kB / 357.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.07155, allocations: 3.609 MB / 361 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/0.07249, allocations: 63.97 kB / 361.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.07257, allocations: 47.94 kB / 361.1 MB, free: 15.95 MB / 334.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.0004928/0.07306, allocations: 297.5 kB / 361.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.07322, allocations: 119.3 kB / 361.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.07486, allocations: 0.689 MB / 362.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.07487, allocations: 4 kB / 362.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.07487, allocations: 0 / 362.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/0.07646, allocations: 0.9551 MB / 363.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.07932, allocations: 1.507 MB / 364.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.07933, allocations: 4 kB / 364.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.07984, allocations: 103.9 kB / 364.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.0803, allocations: 129.7 kB / 364.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.08034, allocations: 19.98 kB / 365 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/0.08437, allocations: 3.315 MB / 368.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.08438, allocations: 4.031 kB / 368.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.0864, allocations: 1.033 MB / 369.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.08678, allocations: 167.2 kB / 369.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.08694, allocations: 16 kB / 369.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.08757, allocations: 31.97 kB / 369.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.08771, allocations: 68.27 kB / 369.6 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.08775, allocations: 20 kB / 369.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009491/0.0887, allocations: 0.6306 MB / 370.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0887, allocations: 8 kB / 370.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001082/0.08979, allocations: 307.9 kB / 370.5 MB, free: 6.086 MB / 334.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.0002305/0.09002, allocations: 131.1 kB / 370.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.09216, allocations: 1.11 MB / 371.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.09217, allocations: 5.938 kB / 371.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.0932, allocations: 0.5356 MB / 372.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.09448, allocations: 284 kB / 372.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.0983, allocations: 2.086 MB / 374.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.09887, allocations: 0.493 MB / 375.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.09934, allocations: 132.6 kB / 375.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.09952, allocations: 68.5 kB / 375.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.09952, allocations: 0 / 375.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of Templates: time 0.03132/0.1308, allocations: 17 MB / 392.4 MB, free: 388 kB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/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: 7.978714410215616]