Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 95.06 kB / 17.3 MB, free: 6.387 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.002178/0.002178, allocations: 178.4 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004847/0.0004848, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008289/0.1396, allocations: 6.603 MB / 335.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.1452, allocations: 2.342 MB / 337.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000773/0.146, allocations: 16 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.1475, allocations: 453.6 kB / 338.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1488, allocations: 329.7 kB / 338.7 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1493, allocations: 175.9 kB / 338.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1505, allocations: 1.136 MB / 340 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.1512, allocations: 434.7 kB / 340.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006306/0.1519, allocations: 382.2 kB / 340.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.1523, allocations: 437.7 kB / 341.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1525, allocations: 52 kB / 341.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.1527, allocations: 91.97 kB / 341.4 MB, free: 7.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1529, allocations: 159.2 kB / 341.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.1534, allocations: 0.4991 MB / 342 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1546, allocations: 1.343 MB / 343.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1546, allocations: 0 / 343.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1546, allocations: 0 / 343.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1547, allocations: 0 / 343.4 MB, free: 5.262 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002031/0.1567, allocations: 1.095 MB / 344.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1568, allocations: 12.03 kB / 344.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.1573, allocations: 147.6 kB / 344.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1583, allocations: 0.63 MB / 345.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.1584, allocations: 62.31 kB / 345.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.1586, allocations: 88.27 kB / 345.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.16, allocations: 0.7793 MB / 346.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.1601, allocations: 15.98 kB / 346.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.1602, allocations: 32 kB / 346.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1602, allocations: 20 kB / 346.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1613, allocations: 0.527 MB / 346.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.166, allocations: 3.426 MB / 350.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.1666, allocations: 238.1 kB / 350.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.1668, allocations: 124.8 kB / 350.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1669, allocations: 4 kB / 350.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1669, allocations: 34.56 kB / 350.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/0.1669, allocations: 0 / 350.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002416/0.1694, allocations: 1.082 MB / 351.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1694, allocations: 81.11 kB / 351.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1705, allocations: 0.7349 MB / 352.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1706, allocations: 33.7 kB / 352.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.171, allocations: 0.4903 MB / 353 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.1711, allocations: 102.6 kB / 353.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.1712, allocations: 53.69 kB / 353.2 MB, free: 11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1714, allocations: 374.8 kB / 353.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1717, allocations: 137.2 kB / 353.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.1722, allocations: 430.1 kB / 354.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.173, allocations: 0.5792 MB / 354.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.173, allocations: 4 kB / 354.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001113/0.1741, allocations: 0.6383 MB / 355.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1742, allocations: 8 kB / 355.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1742, allocations: 8 kB / 355.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.1744, allocations: 36.84 kB / 355.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1749, allocations: 143.7 kB / 355.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.1761, allocations: 1.288 MB / 356.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.1767, allocations: 47.98 kB / 356.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.1767, allocations: 32 kB / 356.9 MB, free: 6.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005098/0.1773, allocations: 237.5 kB / 357.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1774, allocations: 71.14 kB / 357.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.1782, allocations: 337.4 kB / 357.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1782, allocations: 4 kB / 357.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1782, allocations: 3.938 kB / 357.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1782, allocations: 0 / 357.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.1802, allocations: 1.117 MB / 358.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1803, allocations: 0 / 358.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.1806, allocations: 67.89 kB / 358.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-05/0.1807, allocations: 21.08 kB / 358.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.1807, allocations: 11.98 kB / 358.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.1821, allocations: 1.276 MB / 360 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.1821, allocations: 7.969 kB / 360 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1833, allocations: 0.5755 MB / 360.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.1836, allocations: 180.2 kB / 360.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.1837, allocations: 8 kB / 360.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.184, allocations: 19.98 kB / 360.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1841, allocations: 31.91 kB / 360.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1842, allocations: 12 kB / 360.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000854/0.185, allocations: 0.5069 MB / 361.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.185, allocations: 0 / 361.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008121/0.1858, allocations: 156 kB / 361.5 MB, free: 1.953 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003264/0.1862, allocations: 119.1 kB / 361.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1873, allocations: 477.2 kB / 362.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1873, allocations: 0 / 362.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.1877, allocations: 246.6 kB / 362.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.1889, allocations: 167.5 kB / 362.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.1919, allocations: 1.84 MB / 364.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000661/0.1926, allocations: 0.9414 MB / 365.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.193, allocations: 85.98 kB / 365.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1931, allocations: 51.42 kB / 365.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1931, allocations: 0 / 365.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of Templates: time 0.01834/0.2115, allocations: 7.648 MB / 373 MB, free: 6.293 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches