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.001289/0.00129, allocations: 110 kB / 18.25 MB, free: 4.895 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.001043/0.001043, allocations: 199.5 kB / 19.18 MB, free: 3.973 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.289/1.289, allocations: 205.1 MB / 225 MB, free: 12.3 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.001753/0.001754, allocations: 59.92 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 46.62 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01499/0.125, allocations: 8.037 MB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006763/0.1318, allocations: 2.67 MB / 338.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.1331, allocations: 27.88 kB / 338.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.1354, allocations: 0.5519 MB / 339.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.1375, allocations: 460.3 kB / 339.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.1383, allocations: 259.7 kB / 339.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.1407, allocations: 1.463 MB / 341.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1419, allocations: 0.5807 MB / 342 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009344/0.1429, allocations: 0.5447 MB / 342.5 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009744/0.1439, allocations: 0.6067 MB / 343.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.1442, allocations: 136 kB / 343.3 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.1446, allocations: 180 kB / 343.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1449, allocations: 279 kB / 343.7 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.1457, allocations: 0.6726 MB / 344.4 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.1481, allocations: 1.694 MB / 346.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1481, allocations: 4 kB / 346.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1481, allocations: 0 / 346.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1481, allocations: 0 / 346.1 MB, free: 2.227 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.003463/0.1516, allocations: 1.449 MB / 347.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1517, allocations: 11.89 kB / 347.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1527, allocations: 191.3 kB / 347.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1544, allocations: 0.7261 MB / 348.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.1545, allocations: 74 kB / 348.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.1547, allocations: 96 kB / 348.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.1571, allocations: 0.9386 MB / 349.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.1571, allocations: 7.844 kB / 349.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.1573, allocations: 40 kB / 349.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.1573, allocations: 28 kB / 349.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.1591, allocations: 0.6286 MB / 350.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00491/0.164, allocations: 3.919 MB / 354.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.1647, allocations: 436.6 kB / 354.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.1652, allocations: 261.4 kB / 354.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1653, allocations: 4.328 kB / 354.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1653, allocations: 34.89 kB / 354.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.1653, allocations: 4 kB / 354.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002571/0.1679, allocations: 1.399 MB / 356.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.168, allocations: 81.11 kB / 356.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.169, allocations: 0.8291 MB / 357.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.169, allocations: 37.7 kB / 357.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.1694, allocations: 0.5526 MB / 357.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1695, allocations: 161.7 kB / 358 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.1697, allocations: 126.5 kB / 358.1 MB, free: 5.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1698, allocations: 338 kB / 358.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1702, allocations: 161.9 kB / 358.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.1707, allocations: 464 kB / 359 MB, free: 4.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/0.1715, allocations: 0.6622 MB / 359.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1715, allocations: 7.922 kB / 359.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001284/0.1728, allocations: 0.7628 MB / 360.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1729, allocations: 8 kB / 360.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1729, allocations: 15.94 kB / 360.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.1732, allocations: 85.88 kB / 360.6 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.1737, allocations: 151.7 kB / 360.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.176, allocations: 3.154 MB / 363.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.1766, allocations: 27.98 kB / 363.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.1767, allocations: 36 kB / 363.9 MB, free: 15.29 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.0003718/0.177, allocations: 264.4 kB / 364.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1772, allocations: 90.94 kB / 364.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.1781, allocations: 499.4 kB / 364.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1781, allocations: 4 kB / 364.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1781, allocations: 4 kB / 364.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1781, allocations: 4 kB / 364.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.1802, allocations: 1.43 MB / 366.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1802, allocations: 8 kB / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.1805, allocations: 67.91 kB / 366.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.1808, allocations: 77.83 kB / 366.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1808, allocations: 12 kB / 366.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.183, allocations: 3.114 MB / 369.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.183, allocations: 128 / 369.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.1843, allocations: 0.7691 MB / 370.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.1845, allocations: 200 kB / 370.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1846, allocations: 15.94 kB / 370.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.1851, allocations: 23.98 kB / 370.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.1851, allocations: 35.95 kB / 370.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1852, allocations: 12 kB / 370.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007236/0.1859, allocations: 0.5654 MB / 371.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1859, allocations: 0 / 371.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000823/0.1867, allocations: 215.9 kB / 371.3 MB, free: 7.457 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.0001926/0.1869, allocations: 123.1 kB / 371.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.1882, allocations: 0.6982 MB / 372.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1882, allocations: 4 kB / 372.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.1888, allocations: 442.6 kB / 372.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1898, allocations: 231 kB / 372.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.1926, allocations: 1.755 MB / 374.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.1932, allocations: 1.005 MB / 375.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1934, allocations: 59.44 kB / 375.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1934, allocations: 0 / 375.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Templates: time 0.1433/0.3367, allocations: 20.86 MB / 396.5 MB, free: 44.27 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 -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