Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 107.2 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.001078/0.001078, allocations: 188.1 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.598/1.598, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001365/0.001365, allocations: 51.94 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0099/0.1273, allocations: 7.942 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1319, allocations: 2.634 MB / 339.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006857/0.1326, allocations: 23.94 kB / 339.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.1341, allocations: 0.5403 MB / 339.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.1351, allocations: 456.4 kB / 340.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.1356, allocations: 239.7 kB / 340.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1371, allocations: 1.436 MB / 342 MB, free: 6.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.1379, allocations: 0.5885 MB / 342.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.1385, allocations: 0.5291 MB / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.1391, allocations: 0.5833 MB / 343.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1392, allocations: 132 kB / 343.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.1396, allocations: 180 kB / 344 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1398, allocations: 275 kB / 344.3 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.1404, allocations: 0.6492 MB / 344.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.142, allocations: 1.697 MB / 346.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1421, allocations: 0 / 346.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1421, allocations: 3.938 kB / 346.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.1421, allocations: 0 / 346.6 MB, free: 1.758 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002349/0.1444, allocations: 1.425 MB / 348 MB, free: 284 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1445, allocations: 12.03 kB / 348 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.1451, allocations: 175.3 kB / 348.2 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1464, allocations: 0.7223 MB / 348.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.1465, allocations: 66 kB / 349 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1467, allocations: 99.91 kB / 349.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1482, allocations: 0.9307 MB / 350 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1483, allocations: 4 kB / 350 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.1483, allocations: 40 kB / 350.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.1484, allocations: 24 kB / 350.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1495, allocations: 0.6246 MB / 350.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/0.1543, allocations: 3.877 MB / 354.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.1549, allocations: 355.7 kB / 354.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1552, allocations: 148.7 kB / 355.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1552, allocations: 0 / 355.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1553, allocations: 34.56 kB / 355.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.1553, allocations: 0 / 355.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002202/0.1575, allocations: 1.193 MB / 356.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1576, allocations: 89.03 kB / 356.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1587, allocations: 0.8175 MB / 357.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.1587, allocations: 37.7 kB / 357.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.1591, allocations: 0.564 MB / 357.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.1592, allocations: 134.2 kB / 358 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.1594, allocations: 126.5 kB / 358.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1595, allocations: 330 kB / 358.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.1599, allocations: 149.9 kB / 358.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.1604, allocations: 463.9 kB / 359 MB, free: 4.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.1612, allocations: 0.639 MB / 359.6 MB, free: 3.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1613, allocations: 4 kB / 359.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001146/0.1624, allocations: 0.677 MB / 360.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1624, allocations: 12 kB / 360.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1625, allocations: 11.94 kB / 360.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.1626, allocations: 36.84 kB / 360.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.1631, allocations: 155.7 kB / 360.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.1641, allocations: 1.402 MB / 361.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.1646, allocations: 35.97 kB / 362 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.1647, allocations: 32 kB / 362 MB, free: 1.383 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.000343/0.165, allocations: 257.5 kB / 362.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1651, allocations: 86.91 kB / 362.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.1659, allocations: 382.5 kB / 362.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1659, allocations: 4 kB / 362.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1659, allocations: 0 / 362.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1659, allocations: 0 / 362.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.1677, allocations: 1.262 MB / 364 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1677, allocations: 0 / 364 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.168, allocations: 79.83 kB / 364 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.531e-05/0.1681, allocations: 29.02 kB / 364.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.1681, allocations: 15.98 kB / 364.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008935/0.169, allocations: 1.363 MB / 365.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1691, allocations: 0 / 365.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009473/0.17, allocations: 0.6321 MB / 366.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.1703, allocations: 184.1 kB / 366.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.1704, allocations: 11.98 kB / 366.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.1707, allocations: 27.92 kB / 366.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.1708, allocations: 27.91 kB / 366.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1708, allocations: 8 kB / 366.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000708/0.1715, allocations: 0.5615 MB / 366.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1716, allocations: 4 kB / 366.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007066/0.1723, allocations: 191.9 kB / 367.1 MB, free: 11.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0001985/0.1725, allocations: 119.2 kB / 367.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.1734, allocations: 0.5198 MB / 367.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1734, allocations: 12 kB / 367.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.1739, allocations: 258.5 kB / 368 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.1748, allocations: 220.1 kB / 368.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.1773, allocations: 1.687 MB / 369.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.1781, allocations: 0.9962 MB / 370.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.1784, allocations: 94.89 kB / 371 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1785, allocations: 55.44 kB / 371 MB, free: 7.926 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1785, allocations: 0 / 371 MB, free: 7.926 MB / 318.1 MB Notification: Performance of Templates: time 0.1897/0.3682, allocations: 9.483 MB / 380.5 MB, free: 52.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches