Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002539/0.002539, allocations: 83.69 kB / 20.96 MB, free: 3.441 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.002824/0.002824, allocations: 161.3 kB / 24.27 MB, free: 136 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3325/0.3325, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.164e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003847/0.003878, allocations: 2.081 MB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.005063, allocations: 0.5688 MB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.005148, allocations: 11.94 kB / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.005262, allocations: 19.78 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.005375, allocations: 43.58 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.005725, allocations: 79.81 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.005997, allocations: 195.1 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.006114, allocations: 25.8 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.006361, allocations: 127.7 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006517, allocations: 59.84 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.00656, allocations: 16 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.006623, allocations: 16 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.006674, allocations: 35.89 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.006759, allocations: 55.83 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.007071, allocations: 187.4 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007075, allocations: 0 / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007076, allocations: 0 / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007081, allocations: 0 / 378.8 MB, free: 1.422 MB / 346.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.0008903/0.007972, allocations: 491.8 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.008005, allocations: 15.91 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.008185, allocations: 40.83 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.008491, allocations: 152.9 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.008508, allocations: 8.609 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.008547, allocations: 12.38 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.008953, allocations: 238.2 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.008971, allocations: 7.938 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.008991, allocations: 4 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.008999, allocations: 4 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.009303, allocations: 103.9 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01048, allocations: 0.7638 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.01082, allocations: 146.8 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.01097, allocations: 63.86 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.011, allocations: 4 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.01103, allocations: 41.39 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.01104, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001298/0.01233, allocations: 389 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.01238, allocations: 51.41 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01258, allocations: 225.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.01261, allocations: 29.7 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01273, allocations: 167.2 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.01281, allocations: 75.38 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.0129, allocations: 43.36 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.01317, allocations: 0.5001 MB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.01335, allocations: 59.97 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.01357, allocations: 113.8 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.01396, allocations: 182.6 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01396, allocations: 0 / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000504/0.01447, allocations: 216 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01449, allocations: 8 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01449, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01451, allocations: 7.938 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.0148, allocations: 48 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01481, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01495, allocations: 8 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.01497, allocations: 7.984 kB / 382.9 MB, free: 12.98 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.0002272/0.0152, allocations: 184.4 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.01526, allocations: 19.91 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.01532, allocations: 21.12 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01532, allocations: 0 / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.01532, allocations: 0 / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01533, allocations: 7.984 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.01642, allocations: 0.6037 MB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01642, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.01667, allocations: 39.92 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01668, allocations: 3.984 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.0167, allocations: 7.938 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0167, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0167, allocations: 4 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.01727, allocations: 353.8 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.01735, allocations: 27.92 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.01738, allocations: 3.938 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.01757, allocations: 12 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.01764, allocations: 19.92 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.01767, allocations: 7.984 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.01784, allocations: 163.2 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01784, allocations: 0 / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01812, allocations: 36 kB / 384.4 MB, free: 11.41 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.0001292/0.01825, allocations: 103.2 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.01871, allocations: 171.5 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01871, allocations: 0 / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.01892, allocations: 96.62 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01925, allocations: 22.02 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.02003, allocations: 354.8 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.02015, allocations: 112.1 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.0203, allocations: 29.47 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.02039, allocations: 24.48 kB / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02039, allocations: 0 / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005984/0.02637, allocations: 1.965 MB / 387.3 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.964895755983889]