Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107.2 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 225.1 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01158/0.1308, allocations: 9.549 MB / 338.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006752/0.1376, allocations: 3.112 MB / 341.4 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1392, allocations: 23.94 kB / 341.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.1409, allocations: 0.5861 MB / 342 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1426, allocations: 0.558 MB / 342.6 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.1434, allocations: 311.5 kB / 342.9 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.1459, allocations: 1.767 MB / 344.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.147, allocations: 0.6413 MB / 345.3 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1482, allocations: 0.6654 MB / 345.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1492, allocations: 0.7467 MB / 346.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.1494, allocations: 160 kB / 346.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.1499, allocations: 196 kB / 347 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.1502, allocations: 334.8 kB / 347.4 MB, free: 1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008964/0.1511, allocations: 0.8048 MB / 348.2 MB, free: 196 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.1533, allocations: 1.982 MB / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1533, allocations: 0 / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1533, allocations: 0 / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.1533, allocations: 0 / 350.1 MB, free: 14.2 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.003308/0.1566, allocations: 1.797 MB / 351.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1567, allocations: 11.97 kB / 351.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/0.1573, allocations: 199 kB / 352.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.1587, allocations: 0.825 MB / 353 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.1589, allocations: 116.4 kB / 353.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.1591, allocations: 120 kB / 353.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.161, allocations: 1.139 MB / 354.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.1611, allocations: 4 kB / 354.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1612, allocations: 48 kB / 354.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.1612, allocations: 24 kB / 354.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1627, allocations: 0.7651 MB / 355.2 MB, free: 8.949 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.005938/0.1687, allocations: 3.914 MB / 359.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.1702, allocations: 0.5854 MB / 359.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.1707, allocations: 266.9 kB / 359.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.1707, allocations: 8.547 kB / 359.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006213/0.1714, allocations: 291.1 kB / 360.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 4.679e-06/0.1714, allocations: 4 kB / 360.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004686/0.1761, allocations: 2.081 MB / 362.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003055/0.1764, allocations: 483.1 kB / 362.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.1781, allocations: 1.109 MB / 363.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.1781, allocations: 41.7 kB / 363.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.1787, allocations: 0.6389 MB / 364.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.1789, allocations: 232.7 kB / 364.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.1792, allocations: 202.7 kB / 365 MB, free: 14.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1793, allocations: 345.9 kB / 365.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.1799, allocations: 242.5 kB / 365.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.1809, allocations: 0.7131 MB / 366.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.1823, allocations: 0.9414 MB / 367.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.1823, allocations: 7.938 kB / 367.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002031/0.1843, allocations: 1.142 MB / 368.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.1844, allocations: 67.41 kB / 368.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1845, allocations: 12 kB / 368.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.1851, allocations: 169.8 kB / 368.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.1857, allocations: 203.7 kB / 368.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.1898, allocations: 3.888 MB / 372.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.1908, allocations: 63.91 kB / 372.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.1908, allocations: 48 kB / 372.8 MB, free: 6.133 MB / 318.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.0005302/0.1914, allocations: 289.7 kB / 373.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.1915, allocations: 126.4 kB / 373.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.193, allocations: 0.7077 MB / 373.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1931, allocations: 4 kB / 373.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1931, allocations: 0 / 373.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.1944, allocations: 0.9529 MB / 374.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.1973, allocations: 1.801 MB / 376.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.1973, allocations: 4.125 kB / 376.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.1978, allocations: 107.9 kB / 376.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.1983, allocations: 121.9 kB / 376.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1983, allocations: 27.86 kB / 376.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2329/0.4312, allocations: 3.581 MB / 380.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4312, allocations: 2.281 kB / 380.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.4335, allocations: 1.05 MB / 381.6 MB, free: 49.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.434, allocations: 252.8 kB / 381.8 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4342, allocations: 18.09 kB / 381.8 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.4348, allocations: 42.5 kB / 381.9 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.435, allocations: 59.11 kB / 381.9 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.4351, allocations: 19.41 kB / 382 MB, free: 49.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.4364, allocations: 0.7481 MB / 382.7 MB, free: 49.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4364, allocations: 0 / 382.7 MB, free: 49.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001239/0.4377, allocations: 306.5 kB / 383 MB, free: 49.42 MB / 318.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.0002535/0.4379, allocations: 134.6 kB / 383.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.4401, allocations: 1.096 MB / 384.2 MB, free: 48.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4401, allocations: 2.969 kB / 384.2 MB, free: 48.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.441, allocations: 0.5468 MB / 384.8 MB, free: 48.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.4424, allocations: 337.2 kB / 385.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.4466, allocations: 2.222 MB / 387.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.4474, allocations: 1.082 MB / 388.4 MB, free: 46.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006586/0.4481, allocations: 150.2 kB / 388.6 MB, free: 46.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.4483, allocations: 81.62 kB / 388.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4483, allocations: 0 / 388.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of Templates: time 0.03254/0.4809, allocations: 17.93 MB / 406.6 MB, free: 35.96 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches