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.00161/0.00161, allocations: 115.5 kB / 17.28 MB, free: 6.047 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.001973/0.001973, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.916/1.916, allocations: 205.1 MB / 224 MB, free: 12.43 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.001234/0.001234, allocations: 51.92 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008966/0.151, allocations: 7.07 MB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.1566, allocations: 2.354 MB / 336.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.1583, allocations: 16 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.1603, allocations: 457.6 kB / 336.7 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1619, allocations: 329.7 kB / 337 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.1625, allocations: 175.9 kB / 337.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.1643, allocations: 1.199 MB / 338.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009244/0.1653, allocations: 0.5076 MB / 338.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008464/0.1661, allocations: 454.2 kB / 339.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.1669, allocations: 0.4939 MB / 339.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.1671, allocations: 115.9 kB / 339.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1675, allocations: 156 kB / 340.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.1678, allocations: 227.2 kB / 340.3 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.1686, allocations: 0.5443 MB / 340.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.1705, allocations: 1.417 MB / 342.3 MB, free: 5.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.1706, allocations: 0 / 342.3 MB, free: 5.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1706, allocations: 0 / 342.3 MB, free: 5.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.1706, allocations: 0 / 342.3 MB, free: 5.199 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.002642/0.1733, allocations: 1.25 MB / 343.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/0.1733, allocations: 11.89 kB / 343.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.174, allocations: 147.7 kB / 343.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1752, allocations: 0.63 MB / 344.3 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.1753, allocations: 66.31 kB / 344.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1755, allocations: 76.38 kB / 344.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1771, allocations: 0.7871 MB / 345.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.1772, allocations: 3.906 kB / 345.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.1773, allocations: 32 kB / 345.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.1773, allocations: 20 kB / 345.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1784, allocations: 0.5192 MB / 345.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.1838, allocations: 3.387 MB / 349.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1843, allocations: 234.5 kB / 349.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.1845, allocations: 116.8 kB / 349.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1845, allocations: 0 / 349.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.559e-05/0.1846, allocations: 38.56 kB / 349.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 9.52e-07/0.1846, allocations: 0 / 349.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.00223/0.1869, allocations: 1.047 MB / 350.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.187, allocations: 81.11 kB / 350.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.1882, allocations: 0.7425 MB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1883, allocations: 29.7 kB / 351.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.1887, allocations: 0.4904 MB / 352 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1889, allocations: 110.5 kB / 352.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.189, allocations: 114.2 kB / 352.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003033/0.1893, allocations: 378.8 kB / 352.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.1898, allocations: 121.2 kB / 352.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.1903, allocations: 418.2 kB / 353.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.1913, allocations: 0.5675 MB / 353.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1913, allocations: 4 kB / 353.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00114/0.1924, allocations: 0.6185 MB / 354.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1925, allocations: 8 kB / 354.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.1925, allocations: 16.61 kB / 354.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.1927, allocations: 36.86 kB / 354.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.1932, allocations: 139.7 kB / 354.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.1947, allocations: 1.394 MB / 355.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.1953, allocations: 27.98 kB / 355.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.1953, allocations: 35.98 kB / 355.9 MB, free: 6.637 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.0004484/0.1958, allocations: 233.7 kB / 356.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1959, allocations: 75.06 kB / 356.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.1967, allocations: 321.3 kB / 356.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1967, allocations: 4 kB / 356.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1967, allocations: 4 kB / 356.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1967, allocations: 0 / 356.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.1988, allocations: 1.106 MB / 357.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.1988, allocations: 4 kB / 357.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1991, allocations: 55.91 kB / 357.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.1993, allocations: 24.84 kB / 357.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.1993, allocations: 8.219 kB / 357.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.2007, allocations: 1.375 MB / 359.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2007, allocations: 4.031 kB / 359.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2019, allocations: 0.5559 MB / 359.7 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.2021, allocations: 168.3 kB / 359.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.2022, allocations: 8 kB / 359.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.2026, allocations: 27.97 kB / 359.9 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.2027, allocations: 27.86 kB / 359.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2027, allocations: 15.92 kB / 359.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008246/0.2035, allocations: 0.4991 MB / 360.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2036, allocations: 0 / 360.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.2045, allocations: 164 kB / 360.6 MB, free: 1.676 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.0003199/0.2048, allocations: 115.2 kB / 360.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.206, allocations: 473.1 kB / 361.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.206, allocations: 0 / 361.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.2064, allocations: 247.1 kB / 361.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2076, allocations: 179 kB / 361.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.2109, allocations: 1.76 MB / 363.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.2118, allocations: 0.9372 MB / 364.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.2122, allocations: 89.97 kB / 364.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2123, allocations: 51.42 kB / 364.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2123, allocations: 7.938 kB / 364.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of Templates: time 0.02004/0.2324, allocations: 8.036 MB / 372.4 MB, free: 5.695 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