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.001693/0.001693, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002082/0.002082, allocations: 212.5 kB / 23 MB, free: 5.574 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.536/1.536, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2603/0.2603, allocations: 46.91 MB / 359.4 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 179] 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.002266/0.002266, allocations: 79.88 kB / 0.4946 GB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3255, allocations: 65.99 MB / 0.5591 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004642/0.3302, allocations: 2.092 MB / 0.5611 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3319, allocations: 0.6088 MB / 0.5617 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.332, allocations: 4 kB / 0.5617 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.3322, allocations: 19.78 kB / 0.5617 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.3323, allocations: 35.66 kB / 0.5618 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3328, allocations: 83.81 kB / 0.5619 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3331, allocations: 191.3 kB / 0.562 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3333, allocations: 37.52 kB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.3335, allocations: 79.7 kB / 0.5622 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3336, allocations: 83.67 kB / 0.5622 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3337, allocations: 12 kB / 0.5622 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.3337, allocations: 16 kB / 0.5623 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.3338, allocations: 39.83 kB / 0.5623 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.3339, allocations: 75.66 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3342, allocations: 193.6 kB / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3342, allocations: 0 / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3342, allocations: 4 kB / 0.5626 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.3342, allocations: 0 / 0.5626 GB, free: 1.48 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.0009223/0.3351, allocations: 457.7 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3352, allocations: 8.031 kB / 0.563 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3353, allocations: 28.83 kB / 0.563 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.3358, allocations: 223.6 kB / 0.5632 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3358, allocations: 8.609 kB / 0.5633 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3358, allocations: 16.12 kB / 0.5633 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3362, allocations: 161.8 kB / 0.5634 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3362, allocations: 7.891 kB / 0.5634 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.3363, allocations: 8 kB / 0.5634 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3363, allocations: 0 / 0.5634 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3366, allocations: 111.9 kB / 0.5635 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3377, allocations: 0.6806 MB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.338, allocations: 138.4 kB / 0.5643 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3383, allocations: 56.83 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.3384, allocations: 7.922 kB / 0.5644 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3384, allocations: 34.56 kB / 0.5644 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3384, allocations: 4 kB / 0.5644 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001409/0.3398, allocations: 408 kB / 0.5648 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3399, allocations: 51.41 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.34, allocations: 154.2 kB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3401, allocations: 33.7 kB / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.3401, allocations: 116.4 kB / 0.5652 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.3402, allocations: 67.42 kB / 0.5652 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3403, allocations: 37.7 kB / 0.5653 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3405, allocations: 326.8 kB / 0.5656 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3407, allocations: 67.95 kB / 0.5656 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.341, allocations: 107.3 kB / 0.5657 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.3414, allocations: 175.3 kB / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3414, allocations: 0 / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005715/0.3419, allocations: 215.8 kB / 0.5661 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.342, allocations: 11.94 kB / 0.5661 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.342, allocations: 96 / 0.5661 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.342, allocations: 4 kB / 0.5661 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.3423, allocations: 51.95 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3423, allocations: 3.938 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3425, allocations: 15.98 kB / 0.5662 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3425, allocations: 4 kB / 0.5662 GB, free: 13.48 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.00015/0.3427, allocations: 129.8 kB / 0.5663 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.3427, allocations: 15.91 kB / 0.5663 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.3428, allocations: 25.19 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3428, allocations: 3.984 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3428, allocations: 3.938 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3428, allocations: 0 / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3439, allocations: 0.6084 MB / 0.567 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3439, allocations: 7.938 kB / 0.567 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3442, allocations: 43.91 kB / 0.567 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3442, allocations: 0 / 0.567 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3442, allocations: 4 kB / 0.567 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3442, allocations: 0 / 0.567 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3442, allocations: 7.984 kB / 0.567 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.3448, allocations: 309.8 kB / 0.5673 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3449, allocations: 101 kB / 0.5674 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3449, allocations: 0 / 0.5674 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.3451, allocations: 15.98 kB / 0.5674 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.3452, allocations: 19.97 kB / 0.5675 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3452, allocations: 4 kB / 0.5675 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3453, allocations: 120.1 kB / 0.5676 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 4 kB / 0.5676 GB, free: 11.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3456, allocations: 36 kB / 0.5676 GB, free: 11.93 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.0001552/0.3458, allocations: 103.2 kB / 0.5677 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3463, allocations: 159.8 kB / 0.5679 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3463, allocations: 192 / 0.5679 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3465, allocations: 91.84 kB / 0.568 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3468, allocations: 27.91 kB / 0.568 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.3477, allocations: 363.8 kB / 0.5683 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.3483, allocations: 0.7209 MB / 0.569 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3484, allocations: 29.41 kB / 0.5691 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.3485, allocations: 23.44 kB / 0.5691 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3485, allocations: 0 / 0.5691 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.00579/0.3543, allocations: 2.021 MB / 0.5711 GB, free: 8.355 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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] "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 [Calling sys.exit(0), Time elapsed: 5.140557182952762]