Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 99.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 45.9 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 11.98 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1512, allocations: 63.47 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002456/0.1537, allocations: 1.673 MB / 483.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1548, allocations: 0.5381 MB / 483.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.1549, allocations: 0 / 483.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.155, allocations: 11.86 kB / 483.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1552, allocations: 51.83 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1555, allocations: 63.84 kB / 483.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1558, allocations: 107.8 kB / 483.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1559, allocations: 33.53 kB / 483.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1561, allocations: 79.75 kB / 483.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1562, allocations: 71.73 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1563, allocations: 4 kB / 484 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.1563, allocations: 12 kB / 484 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1564, allocations: 31.89 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.1564, allocations: 49.58 kB / 484.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1566, allocations: 131.9 kB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1566, allocations: 0 / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1566, allocations: 0 / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1566, allocations: 0 / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008124/0.1575, allocations: 435 kB / 484.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1575, allocations: 8.031 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.1577, allocations: 31.8 kB / 484.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.158, allocations: 202.8 kB / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.158, allocations: 12.23 kB / 484.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.158, allocations: 15.91 kB / 484.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.1584, allocations: 157.8 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1584, allocations: 3.938 kB / 485.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.1584, allocations: 8 kB / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1585, allocations: 0 / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1588, allocations: 115.9 kB / 485.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.1597, allocations: 0.6885 MB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.16, allocations: 150.5 kB / 486 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1601, allocations: 4 kB / 486 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1601, allocations: 30.56 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1601, allocations: 4 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001305/0.1614, allocations: 428.5 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1615, allocations: 55.41 kB / 486.5 MB, free: 52 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1616, allocations: 150.2 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1616, allocations: 25.7 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1617, allocations: 136.1 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1618, allocations: 59.09 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.1618, allocations: 4 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1619, allocations: 322.8 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1621, allocations: 72.33 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1623, allocations: 111.5 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1626, allocations: 82 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1626, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004712/0.1631, allocations: 229.3 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1631, allocations: 4 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1631, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1631, allocations: 7.938 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1634, allocations: 60.05 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1635, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1636, allocations: 19.98 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1637, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1638, allocations: 133.7 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.1639, allocations: 11.91 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1639, allocations: 29.11 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1639, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1639, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1639, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.1649, allocations: 0.6305 MB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1649, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1652, allocations: 55.91 kB / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1652, allocations: 3.984 kB / 488.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1652, allocations: 0 / 488.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1652, allocations: 7.984 kB / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1652, allocations: 0 / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.1657, allocations: 315.1 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.1659, allocations: 104.9 kB / 489.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1659, allocations: 0 / 489.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1661, allocations: 23.92 kB / 489.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.1662, allocations: 15.97 kB / 489.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1662, allocations: 8 kB / 489.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.163e-05/0.1663, allocations: 111.2 kB / 489.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1663, allocations: 0 / 489.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1666, allocations: 40 kB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.1667, allocations: 91.78 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.1673, allocations: 186 kB / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1673, allocations: 0 / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1675, allocations: 100 kB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1678, allocations: 27.92 kB / 489.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.1685, allocations: 441.5 kB / 490.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1688, allocations: 0.7251 MB / 490.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.169, allocations: 25.42 kB / 490.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1691, allocations: 19.42 kB / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1691, allocations: 0 / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004674/0.1738, allocations: 1.703 MB / 492.6 MB, free: 9.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches