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.001525/0.001526, allocations: 94.33 kB / 16.94 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.00247/0.002469, allocations: 178.9 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 2.182/2.182, allocations: 205.4 MB / 224 MB, free: 13.12 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.0004799/0.0004799, allocations: 12 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006692/0.1259, allocations: 5.672 MB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.1304, allocations: 2.27 MB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/0.1311, allocations: 23.94 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1324, allocations: 418 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1335, allocations: 402.8 kB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1339, allocations: 123.9 kB / 337.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.135, allocations: 0.8546 MB / 338.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.1356, allocations: 364.6 kB / 338.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.1359, allocations: 342.6 kB / 338.8 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.1364, allocations: 386.2 kB / 339.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.1364, allocations: 52 kB / 339.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1367, allocations: 83.92 kB / 339.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1368, allocations: 155.3 kB / 339.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.137, allocations: 221.2 kB / 339.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009674/0.138, allocations: 1.075 MB / 340.7 MB, free: 7.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.138, allocations: 0 / 340.7 MB, free: 7.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.138, allocations: 0 / 340.7 MB, free: 7.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.138, allocations: 0 / 340.7 MB, free: 7.633 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.001709/0.1397, allocations: 1.083 MB / 341.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1398, allocations: 8.031 kB / 341.8 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.1401, allocations: 130.7 kB / 341.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.1411, allocations: 0.6212 MB / 342.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.1412, allocations: 54 kB / 342.6 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.1413, allocations: 80 kB / 342.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1427, allocations: 0.7793 MB / 343.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.1427, allocations: 3.906 kB / 343.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.1428, allocations: 32 kB / 343.5 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.1428, allocations: 24 kB / 343.5 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.1438, allocations: 0.5231 MB / 344.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.1479, allocations: 3.364 MB / 347.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.1484, allocations: 242.4 kB / 347.7 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1485, allocations: 4 kB / 347.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1485, allocations: 34.56 kB / 347.7 MB, free: 320 kB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.1485, allocations: 0 / 347.7 MB, free: 320 kB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.002009/0.1505, allocations: 1.079 MB / 348.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.1506, allocations: 85.05 kB / 348.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.1514, allocations: 0.6723 MB / 349.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1515, allocations: 29.7 kB / 349.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.1519, allocations: 0.4943 MB / 350 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.152, allocations: 102.5 kB / 350.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.152, allocations: 12 kB / 350.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1522, allocations: 378.7 kB / 350.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1525, allocations: 133.2 kB / 350.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.1529, allocations: 422.2 kB / 351.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1533, allocations: 195.9 kB / 351.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1533, allocations: 0 / 351.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001005/0.1543, allocations: 0.6151 MB / 351.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1544, allocations: 12 kB / 351.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1544, allocations: 12.06 kB / 351.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.1545, allocations: 36.84 kB / 351.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.155, allocations: 139.8 kB / 352.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009866/0.156, allocations: 1.303 MB / 353.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.1564, allocations: 39.94 kB / 353.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1565, allocations: 32.16 kB / 353.4 MB, free: 10.14 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 (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.0003612/0.1568, allocations: 241.5 kB / 353.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.1569, allocations: 75.06 kB / 353.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.1576, allocations: 337.9 kB / 354.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1576, allocations: 4 kB / 354.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1576, allocations: 3.953 kB / 354.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1576, allocations: 3.984 kB / 354.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1591, allocations: 1.074 MB / 355.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1591, allocations: 4 kB / 355.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.1594, allocations: 63.89 kB / 355.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.1595, allocations: 20.86 kB / 355.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1595, allocations: 4 kB / 355.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008615/0.1604, allocations: 1.28 MB / 356.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1604, allocations: 4.188 kB / 356.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.1613, allocations: 0.6496 MB / 357.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.1616, allocations: 168.3 kB / 357.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.1616, allocations: 8 kB / 357.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1619, allocations: 27.94 kB / 357.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.162, allocations: 27.91 kB / 357.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.162, allocations: 8 kB / 357.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.1626, allocations: 463 kB / 357.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1626, allocations: 0 / 357.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006894/0.1633, allocations: 160 kB / 358 MB, free: 5.211 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 (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.0002576/0.1636, allocations: 127.1 kB / 358.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008894/0.1645, allocations: 471.7 kB / 358.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1645, allocations: 4 kB / 358.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.1649, allocations: 240 kB / 358.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.1657, allocations: 167 kB / 359 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1682, allocations: 1.738 MB / 360.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.1689, allocations: 0.9608 MB / 361.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000337/0.1692, allocations: 85.92 kB / 361.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.1693, allocations: 47.44 kB / 361.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1693, allocations: 0 / 361.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of Templates: time 0.01477/0.1841, allocations: 6.85 MB / 368.7 MB, free: 10.44 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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