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.001715/0.001715, allocations: 108.4 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.00231/0.00231, allocations: 186.9 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.672/1.672, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001401/0.001401, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01266/0.1171, allocations: 9.542 MB / 338.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006871/0.1241, allocations: 3.116 MB / 341.4 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.126, allocations: 23.94 kB / 341.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.1285, allocations: 0.59 MB / 342 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.1313, allocations: 0.5503 MB / 342.5 MB, free: 5.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1325, allocations: 311.5 kB / 342.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.1357, allocations: 1.771 MB / 344.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1369, allocations: 0.6491 MB / 345.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.1384, allocations: 0.6616 MB / 345.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.14, allocations: 0.7467 MB / 346.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.1405, allocations: 156 kB / 346.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.1411, allocations: 200 kB / 347 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.1414, allocations: 326.8 kB / 347.3 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008488/0.1423, allocations: 0.8165 MB / 348.2 MB, free: 188 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.1442, allocations: 1.974 MB / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1442, allocations: 4 kB / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1443, allocations: 0 / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.1443, 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.003027/0.1473, allocations: 1.793 MB / 351.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1474, allocations: 12.03 kB / 351.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.148, allocations: 199 kB / 352.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1493, allocations: 0.8289 MB / 353 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1494, allocations: 116.4 kB / 353.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1496, allocations: 116 kB / 353.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.1514, allocations: 1.139 MB / 354.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.1515, allocations: 4 kB / 354.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.1516, allocations: 51.98 kB / 354.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1516, allocations: 24 kB / 354.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1531, allocations: 0.7544 MB / 355.2 MB, free: 8.957 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.00535/0.1584, allocations: 3.926 MB / 359.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.16, allocations: 0.5811 MB / 359.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.1605, allocations: 271.5 kB / 359.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.1605, allocations: 8.562 kB / 359.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.1612, allocations: 306.9 kB / 360.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.1612, allocations: 0 / 360.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004453/0.1656, allocations: 2.077 MB / 362.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.1658, allocations: 479.2 kB / 362.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.1674, allocations: 1.101 MB / 363.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.1674, allocations: 41.7 kB / 363.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/0.168, allocations: 0.6467 MB / 364.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.1682, allocations: 232.7 kB / 364.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.1685, allocations: 198.7 kB / 365 MB, free: 14.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1686, allocations: 341.9 kB / 365.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.1691, allocations: 246.5 kB / 365.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/0.17, allocations: 0.7169 MB / 366.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.1714, allocations: 0.9375 MB / 367.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.1714, 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.002075/0.1735, allocations: 1.138 MB / 368.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.1736, allocations: 71.39 kB / 368.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.1736, allocations: 15.94 kB / 368.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.1742, allocations: 162.7 kB / 368.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.1749, allocations: 203.6 kB / 368.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.1794, allocations: 3.883 MB / 372.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.1803, allocations: 67.94 kB / 372.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.1804, allocations: 44 kB / 372.8 MB, free: 6.141 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.0004993/0.1809, allocations: 297.6 kB / 373.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.1811, allocations: 122.6 kB / 373.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.1826, allocations: 0.7038 MB / 373.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1826, allocations: 8 kB / 373.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1826, allocations: 0 / 373.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.184, allocations: 0.9607 MB / 374.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.1869, allocations: 1.789 MB / 376.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.1869, allocations: 0 / 376.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.1874, allocations: 120 kB / 376.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.1879, allocations: 125.6 kB / 376.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.1879, allocations: 12 kB / 376.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2086/0.3965, allocations: 3.577 MB / 380.5 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.3966, allocations: 6.344 kB / 380.5 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.3988, allocations: 1.053 MB / 381.6 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.3996, allocations: 253.4 kB / 381.8 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.3997, allocations: 19.16 kB / 381.8 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.4005, allocations: 43.19 kB / 381.9 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.4007, allocations: 60.05 kB / 381.9 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.4008, allocations: 20.02 kB / 382 MB, free: 49.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.4023, allocations: 0.7468 MB / 382.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4024, allocations: 0 / 382.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001157/0.4035, allocations: 307.4 kB / 383 MB, free: 49.46 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.0002337/0.4038, allocations: 129.3 kB / 383.1 MB, free: 49.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.4057, allocations: 1.1 MB / 384.2 MB, free: 48.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4057, allocations: 6.406 kB / 384.2 MB, free: 48.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.4066, allocations: 0.5455 MB / 384.8 MB, free: 48.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4079, allocations: 339.6 kB / 385.1 MB, free: 48.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.4115, allocations: 2.221 MB / 387.3 MB, free: 47.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.4122, allocations: 1.083 MB / 388.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.4127, allocations: 149 kB / 388.6 MB, free: 46.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.4129, allocations: 75.98 kB / 388.6 MB, free: 46.6 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4129, allocations: 1.406 kB / 388.6 MB, free: 46.6 MB / 318.1 MB Notification: Performance of Templates: time 0.02651/0.4394, allocations: 17.93 MB / 406.6 MB, free: 35.98 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 gbode -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