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.001456/0.001456, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00158/0.00158, allocations: 161.7 kB / 24.27 MB, free: 172 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.48/1.48, 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.3357/0.3357, allocations: 34.26 MB / 295.3 MB, free: 0.6719 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.043e-06/2.043e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.549e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.005771/0.005807, allocations: 2.019 MB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.007771, allocations: 0.5648 MB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.007924, allocations: 4 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.00809, allocations: 19.78 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.008296, allocations: 43.58 kB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.008928, allocations: 83.75 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.00936, allocations: 195.2 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.009548, allocations: 29.8 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.009933, allocations: 111.8 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.01014, allocations: 67.78 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.01019, allocations: 16 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.01028, allocations: 16 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.01033, allocations: 31.89 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.01045, allocations: 59.89 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.01086, allocations: 191.3 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01087, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01087, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.01087, allocations: 0 / 380.7 MB, free: 15.48 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.001069/0.01194, allocations: 381.8 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.01199, allocations: 8.031 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.01224, allocations: 36.83 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.01261, allocations: 158 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01263, allocations: 12.61 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.01269, allocations: 16.36 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.01327, allocations: 217.8 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.01329, allocations: 3.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.01332, allocations: 8 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01333, allocations: 4 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.01381, allocations: 103.9 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01513, allocations: 0.599 MB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.01566, allocations: 138.2 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.01589, allocations: 53.08 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.01592, allocations: 8 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.01597, allocations: 34.56 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01597, allocations: 0 / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002172/0.01814, allocations: 416.9 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.01821, allocations: 55.39 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.01866, allocations: 147.2 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.01872, allocations: 29.7 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01886, allocations: 120.4 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.01897, allocations: 67.42 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.01909, allocations: 37.7 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.01936, allocations: 322.8 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.0197, allocations: 63.95 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.02008, allocations: 106.3 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.02082, allocations: 177.7 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02082, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009101/0.02173, allocations: 221.4 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.02176, allocations: 10.19 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02176, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.02179, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.0223, allocations: 47.97 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.02231, allocations: 3.984 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.02258, allocations: 16.09 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.02261, allocations: 7.984 kB / 384.3 MB, free: 11.69 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.0002131/0.02283, allocations: 137.7 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.02293, allocations: 19.91 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.023, allocations: 21.12 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.023, allocations: 0 / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.02301, allocations: 0 / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.02302, allocations: 7.984 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.02471, allocations: 0.5407 MB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02472, allocations: 7.938 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.02516, allocations: 35.97 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.02516, allocations: 4 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.0252, allocations: 7.938 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.0252, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0252, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.02619, allocations: 307.3 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.02632, allocations: 31.86 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.02637, allocations: 7.938 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.02672, allocations: 11.98 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.02683, allocations: 19.97 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.02686, allocations: 4 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.02702, allocations: 110.3 kB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02702, allocations: 8 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005435/0.02756, allocations: 40 kB / 385.6 MB, free: 10.32 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.0001813/0.02774, allocations: 95.23 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007906/0.02853, allocations: 168.6 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.02854, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.02888, allocations: 84.08 kB / 385.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.0294, allocations: 27.97 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.03031, allocations: 343.6 kB / 386.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.03043, allocations: 104.2 kB / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.0306, allocations: 25.48 kB / 386.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.03069, allocations: 24.48 kB / 386.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03069, allocations: 0 / 386.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006041/0.03674, allocations: 1.942 MB / 388.4 MB, free: 7.496 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] 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.700355590088293]