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.00251/0.00251, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00292/0.00292, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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 1.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3428/0.3428, allocations: 34.25 MB / 295.3 MB, free: 0.6953 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: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.277e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.005999/0.006032, allocations: 2.077 MB / 379.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.007986, allocations: 0.5804 MB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.008111, allocations: 4 kB / 380 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.008272, allocations: 19.78 kB / 380 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.008458, allocations: 43.58 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.009053, allocations: 87.75 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.009466, allocations: 191.2 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.009647, allocations: 29.8 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.01002, allocations: 115.8 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.01025, allocations: 59.84 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.01032, allocations: 19.94 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.01042, allocations: 16 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.0105, allocations: 35.89 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01063, allocations: 51.89 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.01111, allocations: 195.4 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01112, allocations: 3.938 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01112, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.01113, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.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.001255/0.01238, allocations: 487.8 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.01243, allocations: 8.031 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.0127, allocations: 36.83 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.01309, allocations: 164.1 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.01312, allocations: 8.609 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.01317, allocations: 16.38 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.01383, allocations: 226.2 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.01386, allocations: 7.938 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.01389, allocations: 4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.0139, allocations: 4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.01445, allocations: 103.9 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.01623, allocations: 0.7677 MB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.01686, allocations: 147 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.01713, allocations: 59.86 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.01717, allocations: 4 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.01724, allocations: 41.39 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.01724, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002287/0.01953, allocations: 399.7 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.01959, allocations: 55.41 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.01993, allocations: 218.8 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.01998, allocations: 29.7 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.02018, allocations: 167.2 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.02028, allocations: 67.44 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.02044, allocations: 47.36 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004003/0.02084, allocations: 0.5001 MB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.02118, allocations: 63.97 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.02161, allocations: 110.6 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.02241, allocations: 181.2 kB / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02241, allocations: 0 / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009498/0.02336, allocations: 213.5 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.02338, allocations: 9.875 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.02339, allocations: 0 / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.02342, allocations: 4 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.02398, allocations: 47.91 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/0.02402, allocations: 4 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.02427, allocations: 4 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.02431, allocations: 11.98 kB / 385 MB, free: 11.02 MB / 362.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 0.0002569/0.02457, allocations: 180.4 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.02468, allocations: 28 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/0.02476, allocations: 21.12 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.02477, allocations: 0 / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.02477, allocations: 0 / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.02478, allocations: 3.984 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.02672, allocations: 0.6059 MB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02672, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.02721, allocations: 47.91 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02721, allocations: 7.938 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.02724, allocations: 3.938 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.02725, allocations: 0 / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02725, allocations: 4 kB / 385.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.02827, allocations: 351.7 kB / 386.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.02841, allocations: 27.92 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.02846, allocations: 3.938 kB / 386.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.02881, allocations: 12 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.02893, allocations: 23.92 kB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.02897, allocations: 7.984 kB / 386.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.02917, allocations: 158.2 kB / 386.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02917, allocations: 0 / 386.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.02968, allocations: 36 kB / 386.5 MB, free: 9.438 MB / 362.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.0001942/0.02988, allocations: 99.23 kB / 386.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008706/0.03075, allocations: 172.6 kB / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.03075, allocations: 192 / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.03118, allocations: 101.8 kB / 386.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.03179, allocations: 27.97 kB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.03314, allocations: 353.5 kB / 387.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.03333, allocations: 104.2 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.03363, allocations: 33.41 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.03378, allocations: 24.48 kB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03378, allocations: 0 / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of Templates: time 0.01053/0.04431, allocations: 1.95 MB / 389.3 MB, free: 6.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] 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: 4.929828020976856]