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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 99.53 kB / 20.97 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 160.8 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.356/0.356, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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=5010,variableFilter="time|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=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.866e-05, allocations: 10.25 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003675/0.003704, allocations: 2.074 MB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004958, allocations: 0.5804 MB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.005061, allocations: 7.938 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.005172, allocations: 15.8 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.005286, allocations: 47.58 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.005626, allocations: 79.81 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.005908, allocations: 191.2 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.006036, allocations: 29.78 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.006279, allocations: 119.7 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.006431, allocations: 63.8 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.00647, allocations: 12 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.006534, allocations: 19.98 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.006582, allocations: 35.91 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.006664, allocations: 51.89 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.006988, allocations: 191.4 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00699, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006991, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006996, allocations: 0 / 380.7 MB, free: 15.37 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.0008535/0.007849, allocations: 487.8 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.007882, allocations: 12.03 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.008128, allocations: 36.83 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.008414, allocations: 160.9 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.008434, allocations: 12.61 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.00847, allocations: 12.38 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.00887, allocations: 230.2 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.008885, allocations: 3.938 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.008916, allocations: 4 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.008925, allocations: 4 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.009249, allocations: 115.9 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01033, allocations: 0.756 MB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.01073, allocations: 146.2 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.01088, allocations: 55.92 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.01091, allocations: 8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.01095, allocations: 41.33 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.01095, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001396/0.01235, allocations: 389 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.01239, allocations: 55.41 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.0126, allocations: 221.6 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.01263, allocations: 29.7 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.01277, allocations: 167.2 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.01286, allocations: 71.42 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.01295, allocations: 51.36 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.01322, allocations: 0.5001 MB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.0134, allocations: 59.97 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.01382, allocations: 115.5 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.01422, allocations: 185.7 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01422, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000585/0.0148, allocations: 213.5 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01482, allocations: 4 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01483, allocations: 0 / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01484, allocations: 4 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.01515, allocations: 51.91 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01516, allocations: 0 / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.0153, allocations: 7.984 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.01532, allocations: 16.09 kB / 384.9 MB, free: 10.93 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.0001603/0.01548, allocations: 180.4 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.01554, allocations: 19.91 kB / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.0156, allocations: 21.12 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.0156, allocations: 0 / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.0156, allocations: 4 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01561, allocations: 3.984 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.0167, allocations: 0.5999 MB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0167, allocations: 3.938 kB / 385.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.01695, allocations: 43.91 kB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01695, allocations: 0 / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.01698, allocations: 11.94 kB / 385.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01698, allocations: 4 kB / 385.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01698, allocations: 0 / 385.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.01753, allocations: 347 kB / 386.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.01761, allocations: 27.92 kB / 386.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.01765, allocations: 7.938 kB / 386.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.01787, allocations: 12 kB / 386.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.01798, allocations: 19.92 kB / 386.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.018, allocations: 7.984 kB / 386.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01813, allocations: 159.2 kB / 386.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01813, allocations: 0 / 386.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.0184, allocations: 36 kB / 386.4 MB, free: 9.363 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.0001286/0.01852, allocations: 99.19 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.019, allocations: 175.5 kB / 386.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.019, allocations: 0 / 386.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.01922, allocations: 99.58 kB / 386.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.01954, allocations: 22.03 kB / 386.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.02034, allocations: 361.9 kB / 387.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.02046, allocations: 108.2 kB / 387.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.02062, allocations: 25.47 kB / 387.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.02071, allocations: 24.48 kB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02071, allocations: 4 kB / 387.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of Templates: time 0.006391/0.0271, allocations: 1.96 MB / 389.2 MB, free: 6.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.7816390950465575]