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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 218.1 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.9 MB / 359.9 MB, free: 4.969 MB / 286.1 MB [Timeout remaining time 90] 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.dens|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.dens|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.002209/0.002209, allocations: 75.88 kB / 0.495 GB, free: 8.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3354, allocations: 65.99 MB / 0.5594 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003725/0.3391, allocations: 2.072 MB / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3403, allocations: 0.601 MB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3404, allocations: 0 / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.3406, allocations: 31.78 kB / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3407, allocations: 39.58 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3412, allocations: 79.89 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3415, allocations: 187.3 kB / 0.5624 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3417, allocations: 37.45 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3419, allocations: 83.77 kB / 0.5625 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3421, allocations: 83.66 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.3421, allocations: 16 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.3422, allocations: 20 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.3422, allocations: 35.84 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3423, allocations: 67.66 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.3427, allocations: 193.6 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3427, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3427, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3427, allocations: 3.984 kB / 0.5629 GB, free: 1.621 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.0009591/0.3437, allocations: 459 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3437, allocations: 12.03 kB / 0.5633 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.3439, allocations: 24.83 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.3442, allocations: 215.6 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3443, allocations: 8.609 kB / 0.5636 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.3443, allocations: 16.12 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.3447, allocations: 173.7 kB / 0.5637 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3447, allocations: 7.953 kB / 0.5638 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3448, allocations: 4 kB / 0.5638 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3448, allocations: 4 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.3451, allocations: 103.9 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3461, allocations: 0.6883 MB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.3465, allocations: 134.6 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3467, allocations: 52.83 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3467, allocations: 7.938 kB / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3467, allocations: 38.5 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3467, allocations: 0 / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001375/0.3481, allocations: 408.4 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3482, allocations: 51.41 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3483, allocations: 154.2 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3483, allocations: 25.7 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.3484, allocations: 120.4 kB / 0.5655 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.3485, allocations: 71.42 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.3486, allocations: 37.72 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3487, allocations: 326.8 kB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3489, allocations: 67.91 kB / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3491, allocations: 107.3 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3496, allocations: 170.1 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3496, allocations: 0 / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005099/0.3501, allocations: 225.3 kB / 0.5664 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3501, allocations: 4 kB / 0.5664 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3501, allocations: 0 / 0.5664 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3501, allocations: 4 kB / 0.5664 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.3504, allocations: 47.91 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3504, allocations: 16.02 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3506, allocations: 8 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3506, allocations: 11.98 kB / 0.5665 GB, free: 13.62 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.0001331/0.3508, allocations: 121.8 kB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3508, allocations: 15.91 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.3509, allocations: 21.19 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3509, allocations: 7.984 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.3509, allocations: 3.938 kB / 0.5667 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3509, allocations: 11.98 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.352, allocations: 0.6122 MB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.352, allocations: 0 / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3523, allocations: 43.91 kB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3523, allocations: 4 kB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3523, allocations: 8 kB / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3523, allocations: 0 / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3523, allocations: 0 / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3528, allocations: 305.8 kB / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.353, allocations: 105 kB / 0.5677 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.353, allocations: 8 kB / 0.5678 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3532, allocations: 15.98 kB / 0.5678 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.3533, allocations: 7.984 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3533, allocations: 11.98 kB / 0.5678 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3534, allocations: 120.1 kB / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3537, allocations: 43.94 kB / 0.5679 GB, free: 12.06 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.000137/0.3538, allocations: 99.19 kB / 0.568 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.3543, allocations: 159.8 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3543, allocations: 0 / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3546, allocations: 86.77 kB / 0.5683 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3549, allocations: 34.28 kB / 0.5683 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.3558, allocations: 390.3 kB / 0.5687 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3562, allocations: 0.7209 MB / 0.5694 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.3563, allocations: 15.44 kB / 0.5694 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3563, allocations: 0 / 0.5694 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004927/0.3612, allocations: 2.145 MB / 0.5715 GB, free: 8.363 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.0.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] Error: Could not read variable gasForce.dens in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! [Timeout remaining time 660] Reference file matches