Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9054/0.9054, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.111e-05, allocations: 8.391 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.166/0.166, allocations: 2.002 MB / 444.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.1668, allocations: 0.5662 MB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.1669, allocations: 6.875 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.167, allocations: 21.36 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.167, allocations: 44.66 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1673, allocations: 82.64 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1675, allocations: 196.3 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1676, allocations: 36.05 kB / 445.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1677, allocations: 119.8 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.1678, allocations: 56.83 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1678, allocations: 11.62 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.1679, allocations: 17.84 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.1679, allocations: 40.83 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1679, allocations: 55.41 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1681, allocations: 187.7 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1681, allocations: 0 / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1681, allocations: 0.75 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1681, allocations: 2.781 kB / 445.6 MB, free: 43.06 MB / 410.7 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.0004523/0.1685, allocations: 385.2 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1686, allocations: 8.781 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.1686, allocations: 49.19 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.311e-05/0.1687, allocations: 23.98 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1689, allocations: 158.8 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1689, allocations: 10.3 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1689, allocations: 12.22 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1691, allocations: 220.2 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1691, allocations: 6.344 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1691, allocations: 3.938 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1691, allocations: 2.812 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1693, allocations: 107.6 kB / 446.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1698, allocations: 0.6184 MB / 447.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.17, allocations: 138.1 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.17, allocations: 51.78 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1701, allocations: 6.75 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.1701, allocations: 37.22 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1701, allocations: 0 / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007095/0.1708, allocations: 404.4 kB / 447.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.1708, allocations: 54.28 kB / 447.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.1709, allocations: 167.8 kB / 448 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1709, allocations: 29.7 kB / 448.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.1709, allocations: 120.8 kB / 448.2 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.1709, allocations: 71.36 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.171, allocations: 39.11 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.651e-05/0.171, allocations: 321.1 kB / 448.6 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.1711, allocations: 71.92 kB / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.1712, allocations: 101.3 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1714, allocations: 176.9 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1714, allocations: 0 / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002333/0.1716, allocations: 222 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1716, allocations: 5.844 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1716, allocations: 4.094 kB / 449.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1717, allocations: 2.75 kB / 449.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1718, allocations: 47.3 kB / 449.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1718, allocations: 6.812 kB / 449.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.1719, allocations: 18.14 kB / 449.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1719, allocations: 8.969 kB / 449.3 MB, free: 40.65 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.1719, allocations: 123.6 kB / 449.4 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.172, allocations: 16.25 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.172, allocations: 23.91 kB / 449.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.172, allocations: 2.906 kB / 449.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.172, allocations: 0 / 449.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.172, allocations: 3.328 kB / 449.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.1725, allocations: 0.5589 MB / 450 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1725, allocations: 3.938 kB / 450 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1726, allocations: 45.03 kB / 450 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1726, allocations: 2.719 kB / 450 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1726, allocations: 11.12 kB / 450 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1726, allocations: 4.094 kB / 450 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1726, allocations: 0 / 450 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1728, allocations: 300.9 kB / 450.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1729, allocations: 31.7 kB / 450.4 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1729, allocations: 11.33 kB / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.173, allocations: 11.86 kB / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.173, allocations: 13.38 kB / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.173, allocations: 9.125 kB / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.1731, allocations: 114.1 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1731, allocations: 0 / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.1732, allocations: 36.06 kB / 450.6 MB, free: 39.77 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003274/0.1736, allocations: 0.8374 MB / 451.4 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1738, allocations: 158.8 kB / 451.5 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1738, allocations: 0 / 451.5 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1739, allocations: 86.77 kB / 451.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1741, allocations: 23.09 kB / 451.7 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1755, allocations: 2.021 MB / 453.7 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.1755, allocations: 107.7 kB / 453.8 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.1756, allocations: 29.84 kB / 453.8 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1757, allocations: 50.69 kB / 453.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1757, allocations: 0 / 453.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.1901, allocations: 4.483 MB / 458.3 MB, free: 36.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/6.761, allocations: 6.75 kB / 458.3 MB, free: 36.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.729927273467183]