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.0008266/0.0008266, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003702/0.003702, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8366/0.8366, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.834e-06/1.834e-06, allocations: 0 / 325.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.871e-05, allocations: 15.14 kB / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01005/0.01008, allocations: 8.466 MB / 334.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.01542, allocations: 2.956 MB / 337.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008134/0.01624, allocations: 39.81 kB / 337.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.01767, allocations: 0.5625 MB / 337.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.01893, allocations: 0.6124 MB / 338.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.01956, allocations: 319.4 kB / 338.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.0214, allocations: 1.84 MB / 340.6 MB, free: 352 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007657/0.02216, allocations: 429.1 kB / 341 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.02358, allocations: 1.041 MB / 342.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007975/0.02437, allocations: 0.5413 MB / 342.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.02461, allocations: 160 kB / 342.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.02496, allocations: 200 kB / 342.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.02519, allocations: 334.7 kB / 343.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.02576, allocations: 0.5573 MB / 343.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.02787, allocations: 2.009 MB / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02787, allocations: 0 / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.02787, allocations: 0 / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.644e-05/0.02791, allocations: 0 / 345.8 MB, free: 11.06 MB / 314.7 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.003053/0.03096, allocations: 1.755 MB / 347.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.03101, allocations: 11.98 kB / 347.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.03153, allocations: 203.9 kB / 347.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.03293, allocations: 0.7672 MB / 348.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.03309, allocations: 167.8 kB / 348.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.03326, allocations: 108.4 kB / 348.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.03537, allocations: 1.577 MB / 350.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.03541, allocations: 3.938 kB / 350.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.0355, allocations: 48 kB / 350.5 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.03553, allocations: 28 kB / 350.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.03707, allocations: 0.7579 MB / 351.3 MB, free: 5.348 MB / 314.7 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.005244/0.04231, allocations: 3.196 MB / 354.5 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.04366, allocations: 0.5434 MB / 355 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.04411, allocations: 253.7 kB / 355.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.04415, allocations: 8.5 kB / 355.3 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.04454, allocations: 320.2 kB / 355.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.04454, allocations: 0 / 355.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.002551/0.04709, allocations: 1.841 MB / 357.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.04724, allocations: 487.2 kB / 357.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.04804, allocations: 0.9673 MB / 358.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.04807, allocations: 37.7 kB / 358.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.0484, allocations: 0.6711 MB / 359.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.04852, allocations: 246 kB / 359.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.0487, allocations: 198.8 kB / 360 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.0488, allocations: 341.9 kB / 360.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.04913, allocations: 301.9 kB / 360.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.04981, allocations: 1.165 MB / 361.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/0.05066, allocations: 0.945 MB / 362.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.05066, allocations: 4 kB / 362.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001215/0.05188, allocations: 1.177 MB / 363.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.05192, allocations: 63.41 kB / 364 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.05193, allocations: 12 kB / 364 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.05228, allocations: 176.5 kB / 364.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.05263, allocations: 211.7 kB / 364.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.0554, allocations: 3.6 MB / 368 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.05579, allocations: 68.06 kB / 368 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.05583, allocations: 44 kB / 368.1 MB, free: 3.398 MB / 330.7 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.0002732/0.0561, allocations: 293.6 kB / 368.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.05619, allocations: 119.2 kB / 368.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.05702, allocations: 0.6929 MB / 369.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.05703, allocations: 8 kB / 369.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.05703, allocations: 0 / 369.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009215/0.05795, allocations: 0.9551 MB / 370.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.05954, allocations: 1.506 MB / 371.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.05955, allocations: 4.219 kB / 371.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.05978, allocations: 107.9 kB / 371.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.06006, allocations: 129.6 kB / 371.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.06009, allocations: 16 kB / 371.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.06214, allocations: 3.319 MB / 375.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.06214, allocations: 4.031 kB / 375.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.06316, allocations: 1.029 MB / 376.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.06336, allocations: 163.3 kB / 376.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.06343, allocations: 24.08 kB / 376.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.0637, allocations: 35.97 kB / 376.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.06379, allocations: 68.27 kB / 376.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.06381, allocations: 16 kB / 376.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.06432, allocations: 0.6345 MB / 377.2 MB, free: 9.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06432, allocations: 0 / 377.2 MB, free: 9.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.06491, allocations: 300 kB / 377.5 MB, free: 9.535 MB / 346.7 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.0001784/0.06509, allocations: 147 kB / 377.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.06619, allocations: 1.119 MB / 378.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.0662, allocations: 4 kB / 378.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.06665, allocations: 0.5157 MB / 379.3 MB, free: 7.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.06734, allocations: 280.5 kB / 379.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.06952, allocations: 2.118 MB / 381.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.06981, allocations: 0.4929 MB / 382.1 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.06993, allocations: 80.48 kB / 382.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.06993, allocations: 0 / 382.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of Templates: time 0.01654/0.08647, allocations: 26.03 MB / 408.2 MB, free: 10.62 MB / 378.7 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: 7.455828004516661]