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.001779/0.001778, allocations: 105.4 kB / 18.35 MB, free: 4.758 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.001956/0.001956, allocations: 192 kB / 19.29 MB, free: 3.828 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.71/1.71, 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.00116/0.00116, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1307, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01003/0.1408, allocations: 7.09 MB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005267/0.1461, allocations: 2.388 MB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.1471, allocations: 20 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1487, allocations: 496.9 kB / 338.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.1498, allocations: 392.9 kB / 339.1 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.1503, allocations: 203.7 kB / 339.3 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.1516, allocations: 1.195 MB / 340.5 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000724/0.1524, allocations: 0.5037 MB / 341 MB, free: 7.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006953/0.1531, allocations: 466.1 kB / 341.5 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.1537, allocations: 493.8 kB / 341.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.1538, allocations: 116 kB / 342 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.1541, allocations: 156 kB / 342.2 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1543, allocations: 235.1 kB / 342.4 MB, free: 5.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.155, allocations: 0.5404 MB / 343 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1565, allocations: 1.429 MB / 344.4 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1565, allocations: 4 kB / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1565, allocations: 0 / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.1566, allocations: 0 / 344.4 MB, free: 3.992 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.002291/0.1589, allocations: 1.25 MB / 345.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1589, allocations: 15.89 kB / 345.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.1595, allocations: 139.7 kB / 345.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1607, allocations: 0.6494 MB / 346.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.1608, allocations: 54.38 kB / 346.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.1609, allocations: 80.38 kB / 346.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1622, allocations: 0.7871 MB / 347.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1622, allocations: 7.906 kB / 347.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.1623, allocations: 32 kB / 347.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1623, allocations: 20 kB / 347.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1633, allocations: 0.5231 MB / 348 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.1676, allocations: 3.36 MB / 351.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.1681, allocations: 250.3 kB / 351.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.1684, allocations: 108.8 kB / 351.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1684, allocations: 4 kB / 351.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1684, allocations: 34.56 kB / 351.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.1684, allocations: 4 kB / 351.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002111/0.1706, allocations: 1.039 MB / 352.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1706, allocations: 81.11 kB / 352.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.1717, allocations: 0.7387 MB / 353.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1717, allocations: 29.7 kB / 353.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.172, allocations: 0.4904 MB / 354.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.1721, allocations: 110.5 kB / 354.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1723, allocations: 114.2 kB / 354.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1725, allocations: 370.8 kB / 354.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.1727, allocations: 133.2 kB / 354.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.1732, allocations: 414.2 kB / 355.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.1739, allocations: 0.5755 MB / 355.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1739, allocations: 4 kB / 355.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009934/0.1749, allocations: 0.607 MB / 356.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.175, allocations: 12 kB / 356.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.175, allocations: 8 kB / 356.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.1752, allocations: 32.84 kB / 356.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.1756, allocations: 143.7 kB / 356.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1767, allocations: 1.382 MB / 358 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.1772, allocations: 40.14 kB / 358 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.1773, allocations: 31.98 kB / 358 MB, free: 5.453 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.0003435/0.1776, allocations: 233.6 kB / 358.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1778, allocations: 79.06 kB / 358.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/0.1784, allocations: 329.6 kB / 358.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1784, allocations: 4 kB / 358.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1784, allocations: 0 / 358.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1784, allocations: 0 / 358.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.18, allocations: 1.102 MB / 359.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.18, allocations: 0 / 359.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.1803, allocations: 59.91 kB / 359.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.1804, allocations: 28.78 kB / 359.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.1804, allocations: 12.22 kB / 359.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009429/0.1814, allocations: 1.363 MB / 361.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1814, allocations: 0 / 361.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.1823, allocations: 0.5682 MB / 361.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1825, allocations: 168.3 kB / 362 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.1826, allocations: 11.94 kB / 362 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.1829, allocations: 23.97 kB / 362 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.183, allocations: 27.86 kB / 362 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.183, allocations: 8 kB / 362 MB, free: 1.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006906/0.1837, allocations: 0.5029 MB / 362.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1837, allocations: 0 / 362.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006942/0.1844, allocations: 164 kB / 362.7 MB, free: 496 kB / 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.0002488/0.1847, allocations: 123.2 kB / 362.8 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.1857, allocations: 460.6 kB / 363.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1857, allocations: 0 / 363.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.1861, allocations: 239.1 kB / 363.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.187, allocations: 190.8 kB / 363.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.1895, allocations: 1.408 MB / 365.1 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1901, allocations: 0.945 MB / 366 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.1904, allocations: 86.03 kB / 366.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1906, allocations: 47.44 kB / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1906, allocations: 0 / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01812/0.2087, allocations: 8.115 MB / 374.3 MB, free: 4.781 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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