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.00145/0.00145, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001739/0.001739, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.35/1.35, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 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.2212/0.2212, allocations: 46.93 MB / 361.5 MB, free: 4.266 MB / 286.1 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 0.002282/0.002282, allocations: 87.86 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2918, allocations: 66.08 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00346/0.2953, allocations: 2.084 MB / 0.564 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2964, allocations: 0.6049 MB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2965, allocations: 7.938 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2967, allocations: 15.8 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2968, allocations: 43.64 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2972, allocations: 87.8 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2974, allocations: 187.2 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2976, allocations: 33.72 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2978, allocations: 79.81 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.298, allocations: 87.61 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.298, allocations: 16 kB / 0.5651 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.298, allocations: 19.94 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.2981, allocations: 31.91 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.2982, allocations: 79.58 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2984, allocations: 185.7 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2985, allocations: 0 / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2985, allocations: 0 / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2985, allocations: 0 / 0.5654 GB, free: 0.6562 MB / 398.1 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.0007801/0.2992, allocations: 389.8 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2993, allocations: 8.031 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.2994, allocations: 24.83 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.2997, allocations: 158.8 kB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2997, allocations: 8.609 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.2998, allocations: 16.12 kB / 0.566 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.3001, allocations: 169.8 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3001, allocations: 3.953 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3001, allocations: 4 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3002, allocations: 4 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.3004, allocations: 113.2 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.3014, allocations: 0.6482 MB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3017, allocations: 134.5 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3019, allocations: 56.83 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3019, allocations: 7.938 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3019, allocations: 30.56 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.3019, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001448/0.3034, allocations: 418.5 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3034, allocations: 55.34 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3036, allocations: 158.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.3036, allocations: 29.7 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3037, allocations: 120.3 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.3038, allocations: 67.44 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.3039, allocations: 37.7 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3041, allocations: 326.8 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.3043, allocations: 71.95 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3045, allocations: 99.34 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.3049, allocations: 171.3 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3049, allocations: 0 / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005388/0.3055, allocations: 228 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3055, allocations: 4 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3055, allocations: 0 / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.3055, allocations: 7.984 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.3058, allocations: 47.91 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.3059, allocations: 4.031 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.306, allocations: 19.98 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3061, allocations: 4 kB / 0.5689 GB, free: 12.85 MB / 414.1 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.0001434/0.3062, allocations: 129.8 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.3063, allocations: 15.91 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.3063, allocations: 25.11 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3063, allocations: 0 / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.3063, allocations: 7.938 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3063, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3074, allocations: 0.5801 MB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3074, allocations: 0 / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3077, allocations: 47.84 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3077, allocations: 0 / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3077, allocations: 8 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3077, allocations: 4 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3077, allocations: 0 / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3083, allocations: 299.3 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.3083, allocations: 31.81 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3084, allocations: 8 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3086, allocations: 15.98 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.3086, allocations: 19.91 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3086, allocations: 4 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3087, allocations: 115.2 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3087, allocations: 0 / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.309, allocations: 36 kB / 0.5702 GB, free: 11.43 MB / 414.1 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.0001188/0.3091, allocations: 107.2 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004662/0.3096, allocations: 158.4 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3096, allocations: 0 / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3098, allocations: 87.84 kB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3101, allocations: 30.45 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.3109, allocations: 387.6 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3113, allocations: 0.717 MB / 0.5717 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.3113, allocations: 19.44 kB / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3113, allocations: 0 / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of Templates: time 0.004953/0.3163, allocations: 2.162 MB / 0.5738 GB, free: 7.719 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/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: 6.759013856062666]