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.001474/0.001474, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001557/0.001557, allocations: 156.9 kB / 24.27 MB, free: 168 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.502/1.502, 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.3251/0.3251, allocations: 34.24 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 2.304e-06/2.304e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.764e-05, allocations: 6.25 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003915/0.003952, allocations: 2.01 MB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.005162, allocations: 0.5648 MB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.005252, allocations: 4 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.00537, allocations: 19.73 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.00549, allocations: 47.62 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.005857, allocations: 83.75 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.006152, allocations: 187.3 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.006273, allocations: 29.7 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.006522, allocations: 119.7 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.006668, allocations: 59.8 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.006707, allocations: 19.98 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.006765, allocations: 16 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.006808, allocations: 35.91 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.006887, allocations: 51.89 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.007199, allocations: 187.4 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.007204, allocations: 4 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007205, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.00721, allocations: 0 / 380.6 MB, free: 15.45 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.0008494/0.008059, allocations: 381.8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.008096, allocations: 12.03 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.008286, allocations: 32.84 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.008605, allocations: 166 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.008622, allocations: 8.609 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.008668, allocations: 12.38 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.009116, allocations: 221.7 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.00914, allocations: 11.94 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.009163, allocations: 4 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009172, allocations: 8 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.009497, allocations: 99.92 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.01046, allocations: 0.599 MB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.01084, allocations: 130.6 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.01101, allocations: 57.08 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01104, allocations: 8 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.01108, allocations: 34.56 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01108, allocations: 3.938 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001508/0.01259, allocations: 412.4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.01264, allocations: 51.41 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01282, allocations: 158 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.01286, allocations: 25.7 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01296, allocations: 120.4 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.01302, allocations: 67.42 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.01311, allocations: 37.7 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.01329, allocations: 326.8 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.01351, allocations: 63.95 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.01375, allocations: 104.2 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.01422, allocations: 174.2 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01422, allocations: 3.938 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005793/0.0148, allocations: 221.5 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01482, allocations: 8 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01483, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.01485, allocations: 4 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.01518, allocations: 51.89 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.01519, allocations: 4.094 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.01536, allocations: 15.98 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.01538, allocations: 4 kB / 384.2 MB, free: 11.65 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.0001585/0.01554, allocations: 133.7 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.0156, allocations: 23.84 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.01566, allocations: 25.11 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01566, allocations: 0 / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01566, allocations: 0 / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01567, allocations: 0 / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.01683, allocations: 0.5412 MB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01683, allocations: 4 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.01711, allocations: 43.91 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01711, allocations: 0 / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.01714, allocations: 11.92 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01714, allocations: 0 / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01714, allocations: 4 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/0.01799, allocations: 299.4 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.01807, allocations: 23.89 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.0181, allocations: 7.938 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.01832, allocations: 19.98 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.01841, allocations: 15.97 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.01843, allocations: 11.98 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01855, allocations: 111.3 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01855, allocations: 0 / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.01886, allocations: 36 kB / 385.5 MB, free: 10.29 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.000146/0.01901, allocations: 99.17 kB / 385.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005156/0.01952, allocations: 163.8 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01952, allocations: 4.188 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.01976, allocations: 79.89 kB / 385.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02015, allocations: 27.97 kB / 385.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.02099, allocations: 344.2 kB / 386.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.02111, allocations: 104.2 kB / 386.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.02127, allocations: 25.48 kB / 386.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.02135, allocations: 16.5 kB / 386.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02135, allocations: 0 / 386.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of Templates: time 0.005735/0.02709, allocations: 1.958 MB / 388.3 MB, free: 7.457 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] 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.766585805919021]