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.001378/0.001378, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.00187/0.00187, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 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.252/0.252, allocations: 46.95 MB / 361.6 MB, free: 4.262 MB / 286.1 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 0.002223/0.002223, allocations: 63.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3193, allocations: 66.03 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003943/0.3233, allocations: 2.095 MB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3245, allocations: 0.6088 MB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3247, allocations: 3.938 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3248, allocations: 23.78 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3249, allocations: 39.64 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.3254, allocations: 87.83 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.3256, allocations: 191.3 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3258, allocations: 29.72 kB / 0.5649 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.326, allocations: 83.77 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3262, allocations: 83.67 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.3262, allocations: 12 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.3262, allocations: 16 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.3263, allocations: 35.84 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.3264, allocations: 79.64 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.3267, allocations: 193.5 kB / 0.5654 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3267, allocations: 4 kB / 0.5654 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3267, allocations: 0 / 0.5654 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3267, allocations: 0 / 0.5654 GB, free: 0.8164 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.0007751/0.3274, allocations: 381.8 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.3275, allocations: 8.031 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3276, allocations: 28.83 kB / 0.5658 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3279, allocations: 164.5 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3279, allocations: 8.609 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.3279, allocations: 16.12 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.3283, allocations: 161.9 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3283, allocations: 3.953 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3283, allocations: 7.938 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3283, allocations: 4 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.3286, allocations: 107.9 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.3296, allocations: 0.656 MB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.3299, allocations: 130.5 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.33, allocations: 56.83 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3301, allocations: 3.938 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.3301, allocations: 42.56 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3301, allocations: 0 / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001334/0.3314, allocations: 396.6 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3315, allocations: 63.34 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3316, allocations: 162.1 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3317, allocations: 25.7 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3318, allocations: 124.3 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.3318, allocations: 71.42 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.3319, allocations: 29.72 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.332, allocations: 334.8 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3322, allocations: 63.95 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3324, allocations: 107.3 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.3329, allocations: 173.5 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3329, allocations: 0 / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005115/0.3334, allocations: 213.4 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3334, allocations: 4 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3334, allocations: 8.094 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3334, allocations: 0 / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.3337, allocations: 55.91 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3337, allocations: 11.92 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3339, allocations: 12 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3339, allocations: 7.984 kB / 0.5689 GB, free: 13.01 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.0001304/0.334, allocations: 129.8 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3341, allocations: 19.91 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.3341, allocations: 17.12 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3341, allocations: 4 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3342, allocations: 3.938 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3342, allocations: 3.984 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3352, allocations: 0.5782 MB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3352, allocations: 0 / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3355, allocations: 43.91 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3355, allocations: 4 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3355, allocations: 7.984 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3355, allocations: 0 / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3355, allocations: 0 / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.336, allocations: 303.3 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.3361, allocations: 23.89 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3361, allocations: 4 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3363, allocations: 15.98 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.3364, allocations: 11.97 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3364, allocations: 11.98 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.3365, allocations: 116.1 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3365, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3368, allocations: 43.94 kB / 0.5701 GB, free: 11.6 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.0001404/0.3369, allocations: 107.1 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.3374, allocations: 165.8 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3374, allocations: 4.188 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.3376, allocations: 83.84 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.338, allocations: 22.28 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.3388, allocations: 391.6 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3392, allocations: 0.7209 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.3393, allocations: 19.44 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3393, allocations: 0 / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Templates: time 0.004343/0.3436, allocations: 2.158 MB / 0.5737 GB, free: 7.887 MB / 414.1 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/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_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: 7.518346850061789]