Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.00196/0.00196, allocations: 82.69 kB / 20.68 MB, free: 1.035 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.001466/0.001466, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.592e-05, allocations: 3.406 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01128/0.0113, allocations: 8.47 MB / 333.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007845/0.01915, allocations: 2.961 MB / 336.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.02047, allocations: 34.34 kB / 336.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.02235, allocations: 0.5693 MB / 337.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.02432, allocations: 0.6029 MB / 337.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.02507, allocations: 326.2 kB / 338 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.02728, allocations: 1.848 MB / 339.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.02803, allocations: 426.1 kB / 340.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.02958, allocations: 1.045 MB / 341.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.03042, allocations: 0.5296 MB / 341.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.03064, allocations: 160 kB / 342 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.03105, allocations: 200 kB / 342.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.03135, allocations: 338.7 kB / 342.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006906/0.03204, allocations: 0.5612 MB / 343.1 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.03441, allocations: 2.013 MB / 345.1 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.03441, allocations: 4 kB / 345.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03442, allocations: 0 / 345.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.03444, allocations: 0 / 345.1 MB, free: 0.9375 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.03785, allocations: 1.742 MB / 346.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.03788, allocations: 11.98 kB / 346.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/0.03849, allocations: 207.9 kB / 347 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.03996, allocations: 0.7711 MB / 347.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.04015, allocations: 163.8 kB / 348 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.04032, allocations: 108.4 kB / 348.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.04264, allocations: 1.577 MB / 349.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.04268, allocations: 7.938 kB / 349.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.04279, allocations: 48 kB / 349.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.04281, allocations: 28 kB / 349.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.04448, allocations: 0.7534 MB / 350.5 MB, free: 11.23 MB / 318.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.005807/0.05028, allocations: 3.204 MB / 353.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.05192, allocations: 0.5394 MB / 354.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.05245, allocations: 246.6 kB / 354.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.05251, allocations: 8.5 kB / 354.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006899/0.0532, allocations: 320.3 kB / 354.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/0.0532, allocations: 3.938 kB / 354.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005112/0.05831, allocations: 1.845 MB / 356.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002768/0.05859, allocations: 479.2 kB / 357.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.06005, allocations: 0.9712 MB / 358.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.06011, allocations: 41.7 kB / 358.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/0.06074, allocations: 0.6712 MB / 358.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.06096, allocations: 238 kB / 359 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.06129, allocations: 198.8 kB / 359.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.06146, allocations: 345.9 kB / 359.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.06208, allocations: 297.9 kB / 359.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.06337, allocations: 1.165 MB / 361 MB, free: 15.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.06496, allocations: 0.9451 MB / 362 MB, free: 14.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.06497, allocations: 8 kB / 362 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002385/0.06735, allocations: 1.177 MB / 363.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.06742, allocations: 67.23 kB / 363.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.06744, allocations: 15.98 kB / 363.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006832/0.06813, allocations: 180.8 kB / 363.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.06888, allocations: 203.7 kB / 363.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/0.07382, allocations: 3.596 MB / 367.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.0749, allocations: 59.92 kB / 367.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/0.07499, allocations: 51.98 kB / 367.3 MB, free: 9.277 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.0006057/0.0756, allocations: 297.8 kB / 367.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.07577, allocations: 119.2 kB / 367.7 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.07743, allocations: 0.6889 MB / 368.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.07744, allocations: 8 kB / 368.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.07745, allocations: 4 kB / 368.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/0.07902, allocations: 0.9473 MB / 369.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.08218, allocations: 1.511 MB / 370.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.08218, allocations: 0 / 370.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.0827, allocations: 103.9 kB / 371 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.08318, allocations: 133.8 kB / 371.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.08322, allocations: 12 kB / 371.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.08721, allocations: 3.307 MB / 374.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.08722, allocations: 8.016 kB / 374.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.08941, allocations: 1.041 MB / 375.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.08998, allocations: 159.3 kB / 375.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.09012, allocations: 23.98 kB / 375.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.09076, allocations: 35.97 kB / 375.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.09092, allocations: 64.28 kB / 375.8 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.09096, allocations: 19.98 kB / 375.8 MB, free: 368 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.09204, allocations: 0.6345 MB / 376.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09204, allocations: 0 / 376.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001245/0.09328, allocations: 307.9 kB / 376.7 MB, free: 15.41 MB / 350.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.0003195/0.0936, allocations: 135.1 kB / 376.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.09591, allocations: 1.126 MB / 378 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.09591, allocations: 0 / 378 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.09695, allocations: 0.5285 MB / 378.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.09832, allocations: 290.9 kB / 378.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1022, allocations: 2.073 MB / 380.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.1027, allocations: 0.4929 MB / 381.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.1032, allocations: 128.6 kB / 381.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1034, allocations: 68.5 kB / 381.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1034, allocations: 8 kB / 381.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Templates: time 0.03267/0.1361, allocations: 17.02 MB / 398.6 MB, free: 9.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.168862096965313]