Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 104.8 kB / 17.16 MB, free: 6.316 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.001321/0.001322, allocations: 190 kB / 18.07 MB, free: 5.414 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.91/1.91, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001254/0.001255, allocations: 51.92 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1525, allocations: 46.61 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01031/0.1629, allocations: 7.082 MB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.1686, allocations: 2.365 MB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.17, allocations: 20 kB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.1718, allocations: 445.7 kB / 336.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1732, allocations: 329.6 kB / 336.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.1737, allocations: 175.9 kB / 337 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.175, allocations: 1.148 MB / 338.1 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.1757, allocations: 438.7 kB / 338.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.1763, allocations: 414.1 kB / 339 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.1768, allocations: 473.8 kB / 339.4 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1769, allocations: 72 kB / 339.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.1772, allocations: 104 kB / 339.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1774, allocations: 195.1 kB / 339.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.178, allocations: 0.4974 MB / 340.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1794, allocations: 1.378 MB / 341.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.1794, allocations: 3.984 kB / 341.7 MB, free: 5.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1794, allocations: 0 / 341.7 MB, free: 5.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1794, allocations: 0 / 341.7 MB, free: 5.719 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002314/0.1817, allocations: 1.254 MB / 342.9 MB, free: 4.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.1818, allocations: 8.031 kB / 342.9 MB, free: 4.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.1824, allocations: 143.7 kB / 343.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.1834, allocations: 0.6377 MB / 343.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.1835, allocations: 58.38 kB / 343.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1836, allocations: 76.38 kB / 343.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.185, allocations: 0.787 MB / 344.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.185, allocations: 7.844 kB / 344.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.1851, allocations: 36 kB / 344.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.1852, allocations: 20 kB / 344.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.1861, allocations: 0.5153 MB / 345.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.1914, allocations: 3.399 MB / 348.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.192, allocations: 230.5 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.1922, allocations: 112.8 kB / 348.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.1923, allocations: 4 kB / 349 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1923, allocations: 34.56 kB / 349 MB, free: 14.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/0.1923, allocations: 0 / 349 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002449/0.1948, allocations: 1.043 MB / 350 MB, free: 12.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.1949, allocations: 89.11 kB / 350.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.1959, allocations: 0.7425 MB / 350.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.196, allocations: 29.7 kB / 350.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.1964, allocations: 498.2 kB / 351.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.1965, allocations: 110.5 kB / 351.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1966, allocations: 106.2 kB / 351.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1968, allocations: 382.8 kB / 352 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.1971, allocations: 129.2 kB / 352.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.1976, allocations: 414.2 kB / 352.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.1985, allocations: 0.5675 MB / 353.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1985, allocations: 4 kB / 353.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001131/0.1996, allocations: 0.6151 MB / 353.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1997, allocations: 8 kB / 353.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1997, allocations: 12 kB / 353.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.1999, allocations: 32.84 kB / 353.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.2004, allocations: 139.8 kB / 353.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.2015, allocations: 1.296 MB / 355.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.202, allocations: 31.98 kB / 355.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.2021, allocations: 32.16 kB / 355.2 MB, free: 7.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0004158/0.2025, allocations: 245.5 kB / 355.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2026, allocations: 71.06 kB / 355.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.2033, allocations: 317.4 kB / 355.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2033, allocations: 4 kB / 355.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2033, allocations: 7.938 kB / 355.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.2034, allocations: 7.984 kB / 355.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2049, allocations: 1.098 MB / 357 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.205, allocations: 4 kB / 357 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2052, allocations: 59.84 kB / 357 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.583e-05/0.2053, allocations: 24.84 kB / 357 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.2053, allocations: 8.219 kB / 357.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.2063, allocations: 1.272 MB / 358.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2064, allocations: 7.969 kB / 358.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.2072, allocations: 0.556 MB / 358.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.2075, allocations: 172.2 kB / 359.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.2076, allocations: 8 kB / 359.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.2079, allocations: 23.97 kB / 359.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.208, allocations: 27.97 kB / 359.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.208, allocations: 15.94 kB / 359.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.2087, allocations: 0.4951 MB / 359.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2087, allocations: 7.938 kB / 359.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006877/0.2094, allocations: 156 kB / 359.8 MB, free: 2.402 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0002898/0.2097, allocations: 119.2 kB / 359.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000981/0.2107, allocations: 460 kB / 360.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2107, allocations: 0 / 360.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.2111, allocations: 236.1 kB / 360.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2122, allocations: 175.3 kB / 360.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.2149, allocations: 1.755 MB / 362.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.2155, allocations: 0.9414 MB / 363.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003364/0.2158, allocations: 97.89 kB / 363.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.216, allocations: 47.44 kB / 363.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.216, allocations: 0 / 363.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Templates: time 0.01971/0.2357, allocations: 7.719 MB / 371.3 MB, free: 6.773 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches