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.001047/0.001047, allocations: 94.52 kB / 16.95 MB, free: 6.113 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.001383/0.001384, allocations: 174.4 kB / 17.84 MB, free: 5.73 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.053/2.053, allocations: 205.4 MB / 224 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.0006145/0.0006147, allocations: 15.98 kB / 280.8 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1471, allocations: 47.59 MB / 328.4 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01032/0.1575, allocations: 6.972 MB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.1641, allocations: 2.465 MB / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.1654, allocations: 23.94 kB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.1671, allocations: 465.4 kB / 338.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1687, allocations: 373.2 kB / 338.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.1692, allocations: 151.7 kB / 338.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.1713, allocations: 1.299 MB / 340.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.1721, allocations: 427.2 kB / 340.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.173, allocations: 434 kB / 340.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.1737, allocations: 497.6 kB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1738, allocations: 64 kB / 341.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1742, allocations: 104 kB / 341.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.1745, allocations: 191.1 kB / 341.8 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.1749, allocations: 257.1 kB / 342 MB, free: 6.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1765, allocations: 1.324 MB / 343.3 MB, free: 4.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.1766, allocations: 0 / 343.3 MB, free: 4.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.1766, allocations: 0 / 343.3 MB, free: 4.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.1766, allocations: 0 / 343.3 MB, free: 4.996 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.00285/0.1795, allocations: 1.262 MB / 344.6 MB, free: 3.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1795, allocations: 8.031 kB / 344.6 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.1801, allocations: 174.4 kB / 344.8 MB, free: 3.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.1813, allocations: 0.6873 MB / 345.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.1814, allocations: 74 kB / 345.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1815, allocations: 95.94 kB / 345.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.1834, allocations: 0.9191 MB / 346.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.1835, allocations: 7.938 kB / 346.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.1836, allocations: 40 kB / 346.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.1836, allocations: 24 kB / 346.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.1851, allocations: 0.6324 MB / 347.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.1907, allocations: 3.921 MB / 351.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.1914, allocations: 367.6 kB / 351.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.1917, allocations: 149.3 kB / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.1917, allocations: 7.984 kB / 351.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.1918, allocations: 42.55 kB / 351.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/0.1918, allocations: 0 / 351.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002586/0.1944, allocations: 1.225 MB / 353 MB, free: 10.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.1944, allocations: 81.11 kB / 353 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1956, allocations: 0.8213 MB / 353.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.1956, allocations: 37.64 kB / 353.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.196, allocations: 0.564 MB / 354.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1962, allocations: 130.2 kB / 354.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.1962, allocations: 20 kB / 354.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1963, allocations: 326 kB / 354.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1966, allocations: 153.9 kB / 355.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.1972, allocations: 467.9 kB / 355.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.1976, allocations: 231.4 kB / 355.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1977, allocations: 0 / 355.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001284/0.1989, allocations: 0.6965 MB / 356.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.199, allocations: 11.94 kB / 356.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.199, allocations: 12 kB / 356.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.1992, allocations: 36.84 kB / 356.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.1997, allocations: 168 kB / 356.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.2009, allocations: 1.288 MB / 358 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.2014, allocations: 35.97 kB / 358 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.2015, allocations: 36 kB / 358 MB, free: 5.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004491/0.2019, allocations: 261.5 kB / 358.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2021, allocations: 87.06 kB / 358.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.2029, allocations: 386.1 kB / 358.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2029, allocations: 8 kB / 358.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2029, allocations: 0 / 358.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2029, allocations: 3.984 kB / 358.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.205, allocations: 1.281 MB / 360 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.2051, allocations: 4.266 kB / 360.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.2054, allocations: 79.83 kB / 360.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.2055, allocations: 24.84 kB / 360.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.2055, allocations: 8 kB / 360.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.2066, allocations: 1.28 MB / 361.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2066, allocations: 0 / 361.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2076, allocations: 0.6473 MB / 362.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.208, allocations: 184.2 kB / 362.3 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2081, allocations: 12 kB / 362.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.2085, allocations: 31.98 kB / 362.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.2086, allocations: 31.91 kB / 362.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2086, allocations: 8 kB / 362.4 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008365/0.2094, allocations: 0.5614 MB / 362.9 MB, free: 320 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2095, allocations: 4 kB / 362.9 MB, free: 316 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008314/0.2103, allocations: 188 kB / 363.1 MB, free: 128 kB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/0.2106, allocations: 115.1 kB / 363.2 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2117, allocations: 0.5262 MB / 363.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2117, allocations: 0 / 363.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2122, allocations: 276.4 kB / 364 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.2133, allocations: 195.3 kB / 364.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.2173, allocations: 2.09 MB / 366.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.218, allocations: 0.9923 MB / 367.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004994/0.2186, allocations: 106.9 kB / 367.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2187, allocations: 51.44 kB / 367.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of SimCode: time 1.893e-06/0.2187, allocations: 0 / 367.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of Templates: time 0.02118/0.2399, allocations: 8.669 MB / 376.1 MB, free: 3 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 -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