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.001062/0.001063, allocations: 93.67 kB / 16.93 MB, free: 5.98 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.001096/0.001096, allocations: 180.8 kB / 17.82 MB, free: 5.652 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.882/1.882, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005945/0.0005946, allocations: 15.28 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1525, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009694/0.1623, allocations: 6.432 MB / 334.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006507/0.1689, allocations: 2.552 MB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.1705, allocations: 27.94 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1723, allocations: 469.7 kB / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1741, allocations: 482.6 kB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.1747, allocations: 159.8 kB / 338.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.1771, allocations: 1.038 MB / 339.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.178, allocations: 427.2 kB / 339.9 MB, free: 8.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1791, allocations: 426.2 kB / 340.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.1798, allocations: 481.8 kB / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.18, allocations: 60 kB / 340.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1804, allocations: 99.98 kB / 340.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1806, allocations: 183.2 kB / 341.1 MB, free: 7.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.181, allocations: 257.1 kB / 341.4 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.1825, allocations: 1.301 MB / 342.7 MB, free: 5.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1826, allocations: 0 / 342.7 MB, free: 5.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.1826, allocations: 4 kB / 342.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.1826, allocations: 0 / 342.7 MB, free: 5.688 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.00259/0.1852, allocations: 1.254 MB / 343.9 MB, free: 4.379 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1853, allocations: 12.03 kB / 343.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.1859, allocations: 170.5 kB / 344.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.1872, allocations: 0.7066 MB / 344.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.1873, allocations: 74 kB / 344.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.1874, allocations: 96 kB / 345 MB, free: 3.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1891, allocations: 0.919 MB / 345.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.1892, allocations: 3.906 kB / 345.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.1893, allocations: 44 kB / 345.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.1893, allocations: 31.94 kB / 346 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.1906, allocations: 0.6402 MB / 346.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.1963, allocations: 3.884 MB / 350.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.1971, allocations: 433.5 kB / 350.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.1972, allocations: 8.312 kB / 350.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.1972, allocations: 42.83 kB / 351 MB, free: 13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.1972, allocations: 4 kB / 351 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002967/0.2002, allocations: 1.384 MB / 352.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.2003, allocations: 93.09 kB / 352.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2014, allocations: 0.755 MB / 353.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.2014, allocations: 37.7 kB / 353.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.2019, allocations: 0.5642 MB / 353.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2021, allocations: 157.7 kB / 353.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2021, allocations: 12 kB / 354 MB, free: 9.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2023, allocations: 337.9 kB / 354.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.2027, allocations: 165.9 kB / 354.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.2033, allocations: 456 kB / 354.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.2038, allocations: 237.7 kB / 355.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2038, allocations: 0 / 355.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001279/0.2051, allocations: 0.7515 MB / 355.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.2051, allocations: 15.94 kB / 355.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.2052, allocations: 12 kB / 355.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.2054, allocations: 69.69 kB / 356 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.206, allocations: 156 kB / 356.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.2087, allocations: 2.802 MB / 358.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.2093, allocations: 43.95 kB / 359 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.2093, allocations: 36 kB / 359 MB, free: 4.398 MB / 302.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 (85): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005332/0.2099, allocations: 257.5 kB / 359.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.21, allocations: 86.97 kB / 359.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.211, allocations: 479.8 kB / 359.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.211, allocations: 4 kB / 359.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.211, allocations: 0 / 359.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.211, allocations: 7.984 kB / 359.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.2132, allocations: 1.387 MB / 361.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2133, allocations: 4 kB / 361.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.2136, allocations: 72.12 kB / 361.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/0.2138, allocations: 57.69 kB / 361.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.2138, allocations: 15.98 kB / 361.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.2164, allocations: 2.794 MB / 364.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2165, allocations: 3.938 kB / 364.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.2179, allocations: 0.8392 MB / 365 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.2183, allocations: 188.3 kB / 365.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.2185, allocations: 15.88 kB / 365.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.2189, allocations: 31.98 kB / 365.2 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.219, allocations: 43.84 kB / 365.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.2191, allocations: 15.98 kB / 365.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008986/0.22, allocations: 0.5107 MB / 365.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.22, allocations: 0 / 365.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001549/0.2216, allocations: 204 kB / 366 MB, free: 12.93 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.2219, allocations: 127.1 kB / 366.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.2236, allocations: 0.6787 MB / 366.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.2236, allocations: 4.625 kB / 366.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007205/0.2243, allocations: 425.2 kB / 367.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.2258, allocations: 207.4 kB / 367.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.2304, allocations: 2.095 MB / 369.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.2316, allocations: 1.016 MB / 370.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006174/0.2323, allocations: 111.1 kB / 370.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2324, allocations: 55.44 kB / 370.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2324, allocations: 0 / 370.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.2345/0.4669, allocations: 8.954 MB / 379.6 MB, free: 51.75 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","../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