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.001024/0.001024, allocations: 93.28 kB / 17.3 MB, free: 6.395 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.0009776/0.0009777, allocations: 177.4 kB / 18.21 MB, free: 5.547 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.155/2.155, 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.0005085/0.0005085, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 47.59 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008748/0.1402, allocations: 7.421 MB / 336.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00574/0.146, allocations: 2.569 MB / 339 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1471, allocations: 23.94 kB / 339 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.1486, allocations: 498.1 kB / 339.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.1501, allocations: 397.2 kB / 339.9 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.1507, allocations: 203.9 kB / 340.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.1523, allocations: 1.362 MB / 341.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.1531, allocations: 0.4928 MB / 341.9 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.1538, allocations: 457.7 kB / 342.4 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.1544, allocations: 0.5013 MB / 342.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1546, allocations: 64 kB / 342.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1549, allocations: 104 kB / 343 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1551, allocations: 195 kB / 343.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.1557, allocations: 0.5885 MB / 343.8 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1572, allocations: 1.584 MB / 345.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1572, allocations: 0 / 345.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1573, allocations: 4 kB / 345.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1573, allocations: 3.938 kB / 345.4 MB, free: 3.215 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.002248/0.1595, allocations: 1.239 MB / 346.6 MB, free: 1.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.1596, allocations: 8.031 kB / 346.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.1602, allocations: 183.3 kB / 346.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1614, allocations: 0.7106 MB / 347.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.1615, allocations: 70 kB / 347.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1616, allocations: 107.8 kB / 347.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.1634, allocations: 0.9229 MB / 348.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.1634, allocations: 11.98 kB / 348.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.1635, allocations: 36 kB / 348.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.1635, allocations: 27.94 kB / 348.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1648, allocations: 0.6403 MB / 349.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.1703, allocations: 3.932 MB / 353.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.171, allocations: 363.7 kB / 353.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.1713, allocations: 152.8 kB / 353.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.1714, allocations: 3.938 kB / 353.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1714, allocations: 38.56 kB / 353.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.534e-06/0.1714, allocations: 0 / 353.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002593/0.174, allocations: 1.23 MB / 355.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1741, allocations: 85.05 kB / 355.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.1754, allocations: 0.8214 MB / 356 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1754, allocations: 33.7 kB / 356 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.176, allocations: 0.564 MB / 356.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1761, allocations: 126.2 kB / 356.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.1762, allocations: 57.69 kB / 356.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1764, allocations: 338 kB / 357.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1768, allocations: 157.9 kB / 357.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.1774, allocations: 460 kB / 357.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1784, allocations: 0.6548 MB / 358.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1785, allocations: 0 / 358.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001476/0.18, allocations: 0.7042 MB / 359 MB, free: 4.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.18, allocations: 8 kB / 359 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.18, allocations: 12 kB / 359 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.1803, allocations: 40.78 kB / 359.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.1808, allocations: 159.7 kB / 359.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1823, allocations: 1.288 MB / 360.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.183, allocations: 44.05 kB / 360.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.1831, allocations: 32.05 kB / 360.6 MB, free: 3.035 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.0006141/0.1837, allocations: 269 kB / 360.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.1839, allocations: 86.91 kB / 361 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008285/0.1847, allocations: 394.1 kB / 361.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1847, allocations: 4 kB / 361.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1847, allocations: 0 / 361.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1847, allocations: 3.984 kB / 361.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.1869, allocations: 1.281 MB / 362.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1869, allocations: 4 kB / 362.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1872, allocations: 83.83 kB / 362.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.697e-05/0.1873, allocations: 33 kB / 362.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1874, allocations: 8 kB / 362.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1884, allocations: 1.272 MB / 364 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1884, allocations: 0 / 364 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1895, allocations: 0.655 MB / 364.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.1899, allocations: 188.1 kB / 364.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.1899, allocations: 8 kB / 364.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.1903, allocations: 27.98 kB / 364.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1904, allocations: 27.91 kB / 364.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1904, allocations: 15.98 kB / 364.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008738/0.1913, allocations: 0.5576 MB / 365.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.677e-06/0.1913, allocations: 0 / 365.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009297/0.1923, allocations: 199.9 kB / 365.7 MB, free: 13.65 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.0002448/0.1925, allocations: 123.2 kB / 365.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.1937, allocations: 0.5277 MB / 366.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1937, allocations: 4.062 kB / 366.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1941, allocations: 274.5 kB / 366.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.1954, allocations: 203 kB / 366.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.199, allocations: 2.207 MB / 369 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.1997, allocations: 0.9923 MB / 370 MB, free: 9.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004382/0.2002, allocations: 102.9 kB / 370.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2003, allocations: 55.44 kB / 370.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2003, allocations: 0 / 370.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of Templates: time 0.02187/0.2222, allocations: 8.923 MB / 379.1 MB, free: 148 kB / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../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