Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000844/0.000844, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008797/0.0008797, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.971/0.971, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 4 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.105e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01263/0.01266, allocations: 8.075 MB / 281 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.01652, allocations: 2.618 MB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.01717, allocations: 31.81 kB / 283.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01833, allocations: 0.5247 MB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008846/0.01922, allocations: 0.5077 MB / 284.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.01962, allocations: 255.7 kB / 284.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.02091, allocations: 1.532 MB / 286.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.02148, allocations: 379.2 kB / 286.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.02241, allocations: 0.8652 MB / 287.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.02296, allocations: 482.5 kB / 288.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.02308, allocations: 136 kB / 288.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.02333, allocations: 176 kB / 288.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.02347, allocations: 286.9 kB / 288.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.02382, allocations: 462.9 kB / 289.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.02491, allocations: 0.9378 MB / 290.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.02491, allocations: 0 / 290.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02491, allocations: 0 / 290.1 MB, free: 108 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.02493, allocations: 0 / 290.1 MB, free: 108 kB / 266.7 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.1296/0.1545, allocations: 1.504 MB / 291.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1545, allocations: 15.61 kB / 291.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.155, allocations: 275 kB / 291.9 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.1559, allocations: 0.6771 MB / 292.6 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.156, allocations: 73.56 kB / 292.7 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.1561, allocations: 103.9 kB / 292.8 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1572, allocations: 0.8241 MB / 293.6 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.1573, allocations: 6.875 kB / 293.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.1573, allocations: 40.94 kB / 293.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1573, allocations: 25.5 kB / 293.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.158, allocations: 356.3 kB / 294 MB, free: 24.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.1612, allocations: 3.62 MB / 297.6 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.1616, allocations: 279.7 kB / 297.9 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.162, allocations: 202.2 kB / 298.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.162, allocations: 8.328 kB / 298.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.162, allocations: 42.05 kB / 298.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.162, allocations: 0 / 298.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001511/0.1635, allocations: 1.002 MB / 299.2 MB, free: 21.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1636, allocations: 86.09 kB / 299.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/0.1643, allocations: 0.747 MB / 300 MB, free: 21.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1643, allocations: 31.8 kB / 300 MB, free: 20.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.1646, allocations: 0.6401 MB / 300.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.1647, allocations: 166.1 kB / 300.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1648, allocations: 135.4 kB / 301 MB, free: 20.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.165, allocations: 0.5694 MB / 301.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1651, allocations: 83.42 kB / 301.6 MB, free: 19.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.1654, allocations: 0.5236 MB / 302.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.1658, allocations: 0.6373 MB / 302.8 MB, free: 18.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1658, allocations: 3.5 kB / 302.8 MB, free: 18.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007921/0.1666, allocations: 0.6454 MB / 303.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1667, allocations: 9.688 kB / 303.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1667, allocations: 9.094 kB / 303.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.1669, allocations: 81.2 kB / 303.5 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1672, allocations: 147.5 kB / 303.7 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1684, allocations: 3.863 MB / 307.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1687, allocations: 33.23 kB / 307.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1688, allocations: 36.88 kB / 307.6 MB, free: 14.45 MB / 266.7 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.1689, allocations: 210.5 kB / 307.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.169, allocations: 94.31 kB / 307.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.1695, allocations: 378.7 kB / 308.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1695, allocations: 3.469 kB / 308.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1695, allocations: 1.531 kB / 308.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.1695, allocations: 3.562 kB / 308.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1708, allocations: 1.167 MB / 309.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1708, allocations: 1.5 kB / 309.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.171, allocations: 63.23 kB / 309.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.1711, allocations: 71.38 kB / 309.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1711, allocations: 8.641 kB / 309.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.1727, allocations: 3.848 MB / 313.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1727, allocations: 6.25 kB / 313.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.1736, allocations: 0.6561 MB / 314.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.1738, allocations: 118.5 kB / 314.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.1738, allocations: 8.375 kB / 314.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.174, allocations: 32.31 kB / 314.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1741, allocations: 33.38 kB / 314.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1741, allocations: 18.5 kB / 314.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003733/0.1745, allocations: 473.9 kB / 314.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 314.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006316/0.1751, allocations: 201.9 kB / 315 MB, free: 8.699 MB / 266.7 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0001731/0.1753, allocations: 127.8 kB / 315.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.1759, allocations: 0.6808 MB / 315.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1759, allocations: 0 / 315.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.1761, allocations: 499.5 kB / 316.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.1767, allocations: 214.1 kB / 316.5 MB, free: 7.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1787, allocations: 1.613 MB / 318.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.1788, allocations: 170.6 kB / 318.2 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.179, allocations: 103.5 kB / 318.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.1791, allocations: 52.48 kB / 318.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1791, allocations: 4 kB / 318.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of Templates: time 0.01304/0.1921, allocations: 10.1 MB / 328.5 MB, free: 11.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0984545941464603]