Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 103.3 kB / 18.35 MB, free: 4.633 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.001614/0.001614, allocations: 192 kB / 19.29 MB, free: 3.703 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.577/1.577, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001445/0.001445, allocations: 47.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 46.62 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01216/0.1216, allocations: 8.032 MB / 336.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.129, allocations: 2.673 MB / 339.4 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1308, allocations: 23.94 kB / 339.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.1334, allocations: 0.5481 MB / 340 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.1361, allocations: 472.3 kB / 340.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1371, allocations: 247.7 kB / 340.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.1399, allocations: 1.483 MB / 342.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.1411, allocations: 0.5924 MB / 342.8 MB, free: 5.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.1421, allocations: 0.5486 MB / 343.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1432, allocations: 0.5872 MB / 343.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.1434, allocations: 143.9 kB / 344.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.1438, allocations: 176 kB / 344.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.1441, allocations: 286.9 kB / 344.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00069/0.1448, allocations: 0.6532 MB / 345.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1464, allocations: 1.717 MB / 346.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1465, allocations: 0 / 346.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1465, allocations: 0 / 346.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1465, allocations: 4 kB / 346.9 MB, free: 1.512 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00254/0.149, allocations: 1.46 MB / 348.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1491, allocations: 11.89 kB / 348.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.1498, allocations: 187.3 kB / 348.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.1511, allocations: 0.7417 MB / 349.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.1511, allocations: 74 kB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.1513, allocations: 96 kB / 349.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1528, allocations: 0.9346 MB / 350.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.1529, allocations: 3.906 kB / 350.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.153, allocations: 44 kB / 350.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.1531, allocations: 24 kB / 350.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1544, allocations: 0.6325 MB / 351.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.1592, allocations: 3.887 MB / 355 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.16, allocations: 432.7 kB / 355.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.1606, allocations: 253.4 kB / 355.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.1607, allocations: 4.328 kB / 355.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1607, allocations: 38.89 kB / 355.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.1607, allocations: 3.938 kB / 355.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002772/0.1635, allocations: 1.404 MB / 357.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1636, allocations: 85.05 kB / 357.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1646, allocations: 0.8252 MB / 358 MB, free: 5.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1647, allocations: 33.7 kB / 358 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.1652, allocations: 0.5565 MB / 358.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1653, allocations: 157.7 kB / 358.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.1654, allocations: 130.5 kB / 358.9 MB, free: 5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1656, allocations: 338 kB / 359.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1659, allocations: 165.9 kB / 359.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.1665, allocations: 463.9 kB / 359.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.1674, allocations: 0.6585 MB / 360.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1674, allocations: 0 / 360.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001373/0.1688, allocations: 0.7705 MB / 361.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1688, allocations: 8 kB / 361.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/0.1689, allocations: 12 kB / 361.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/0.1692, allocations: 85.86 kB / 361.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1697, allocations: 155.8 kB / 361.5 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.1725, allocations: 3.138 MB / 364.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.1732, allocations: 36.08 kB / 364.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1732, allocations: 32 kB / 364.7 MB, free: 14.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.1737, allocations: 269.8 kB / 365 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1739, allocations: 94.86 kB / 365.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.1748, allocations: 499.4 kB / 365.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1748, allocations: 4 kB / 365.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1748, allocations: 4.125 kB / 365.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1749, allocations: 0 / 365.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.1771, allocations: 1.431 MB / 367 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1771, allocations: 0 / 367 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.1775, allocations: 72.12 kB / 367.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.1777, allocations: 69.67 kB / 367.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1777, allocations: 16 kB / 367.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.1805, allocations: 3.118 MB / 370.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1805, allocations: 12.08 kB / 370.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.1818, allocations: 0.7584 MB / 371 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.1822, allocations: 196 kB / 371.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/0.1823, allocations: 19.88 kB / 371.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.1827, allocations: 27.98 kB / 371.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.1828, allocations: 27.95 kB / 371.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.1829, allocations: 16 kB / 371.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008058/0.1837, allocations: 0.5693 MB / 371.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 371.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008314/0.1845, allocations: 203.9 kB / 372.1 MB, free: 6.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,5,100.0%), (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.0002194/0.1848, allocations: 131.1 kB / 372.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.186, allocations: 0.6913 MB / 372.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.186, allocations: 0 / 372.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.1867, allocations: 433 kB / 373.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1878, allocations: 236.5 kB / 373.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.1907, allocations: 1.691 MB / 375.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.1913, allocations: 1.005 MB / 376.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.1917, allocations: 103.3 kB / 376.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1919, allocations: 59.42 kB / 376.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1919, allocations: 0 / 376.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of Templates: time 0.2062/0.3981, allocations: 10.52 MB / 386.9 MB, free: 49.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches