Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001665/0.001665, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001918/0.001918, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.553/1.553, allocations: 230.2 MB / 255.2 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2838/0.2838, allocations: 46.88 MB / 358.1 MB, free: 10.49 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 83.86 kB / 0.4924 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1361, allocations: 65.98 MB / 0.5568 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003667/0.1398, allocations: 2.084 MB / 0.5588 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.141, allocations: 0.6039 MB / 0.5594 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.1411, allocations: 4 kB / 0.5594 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.1412, allocations: 23.72 kB / 0.5594 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1413, allocations: 43.64 kB / 0.5595 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1417, allocations: 79.81 kB / 0.5596 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.142, allocations: 183.3 kB / 0.5597 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1421, allocations: 33.53 kB / 0.5598 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1423, allocations: 91.75 kB / 0.5599 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1425, allocations: 75.67 kB / 0.5599 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1425, allocations: 16 kB / 0.5599 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1426, allocations: 24 kB / 0.56 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.1427, allocations: 31.84 kB / 0.56 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.1428, allocations: 75.66 kB / 0.5601 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.143, allocations: 183.2 kB / 0.5602 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.143, allocations: 0 / 0.5602 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.143, allocations: 3.938 kB / 0.5603 GB, free: 2.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1431, allocations: 0 / 0.5603 GB, free: 2.195 MB / 414.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.0009097/0.144, allocations: 470.9 kB / 0.5607 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.144, allocations: 8.031 kB / 0.5607 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1442, allocations: 24.83 kB / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1444, allocations: 223.7 kB / 0.5609 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1445, allocations: 8.609 kB / 0.561 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1445, allocations: 16.12 kB / 0.561 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.1449, allocations: 169.8 kB / 0.5611 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1449, allocations: 3.953 kB / 0.5611 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1449, allocations: 4 kB / 0.5611 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1449, allocations: 4 kB / 0.5611 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.1453, allocations: 107.9 kB / 0.5612 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009927/0.1463, allocations: 0.6844 MB / 0.5619 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.1466, allocations: 126.6 kB / 0.562 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1468, allocations: 64.77 kB / 0.5621 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1468, allocations: 3.938 kB / 0.5621 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1468, allocations: 34.56 kB / 0.5621 GB, free: 84 kB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1468, allocations: 0 / 0.5621 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001432/0.1483, allocations: 407.2 kB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.1483, allocations: 55.41 kB / 0.5626 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1485, allocations: 154.2 kB / 0.5627 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1485, allocations: 25.7 kB / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.1486, allocations: 120.4 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.1487, allocations: 71.41 kB / 0.5629 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.1487, allocations: 41.7 kB / 0.563 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1489, allocations: 334.7 kB / 0.5633 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.1491, allocations: 59.95 kB / 0.5633 GB, free: 14.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1493, allocations: 103.3 kB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.1497, allocations: 171.3 kB / 0.5636 GB, free: 14.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1497, allocations: 0 / 0.5636 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005141/0.1503, allocations: 223.6 kB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1503, allocations: 4 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1503, allocations: 4 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1503, allocations: 0 / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.1506, allocations: 55.89 kB / 0.5639 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1506, allocations: 7.938 kB / 0.5639 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1508, allocations: 12.08 kB / 0.5639 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1508, allocations: 12 kB / 0.5639 GB, free: 14.18 MB / 430.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.0001231/0.1509, allocations: 125.8 kB / 0.564 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.151, allocations: 15.91 kB / 0.564 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.151, allocations: 25.11 kB / 0.5641 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.151, allocations: 4 kB / 0.5641 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.151, allocations: 3.938 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.151, allocations: 0 / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1522, allocations: 0.6123 MB / 0.5647 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1522, allocations: 0 / 0.5647 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1525, allocations: 39.97 kB / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1525, allocations: 0 / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1525, allocations: 11.94 kB / 0.5647 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1525, allocations: 7.984 kB / 0.5647 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1525, allocations: 0 / 0.5647 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.1531, allocations: 296.8 kB / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1532, allocations: 109 kB / 0.5651 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1532, allocations: 4 kB / 0.5651 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1534, allocations: 15.98 kB / 0.5651 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.1535, allocations: 15.97 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1535, allocations: 8 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.267e-05/0.1536, allocations: 120.1 kB / 0.5653 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 3.938 kB / 0.5653 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1539, allocations: 36 kB / 0.5653 GB, free: 12.64 MB / 430.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.0001345/0.154, allocations: 99.19 kB / 0.5654 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.1545, allocations: 160.5 kB / 0.5656 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1545, allocations: 0 / 0.5656 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1547, allocations: 94.94 kB / 0.5657 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1551, allocations: 26.98 kB / 0.5657 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.1559, allocations: 394.5 kB / 0.5661 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1563, allocations: 0.721 MB / 0.5668 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1564, allocations: 19.44 kB / 0.5668 GB, free: 11.08 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1564, allocations: 0 / 0.5668 GB, free: 11.08 MB / 430.1 MB Notification: Performance of Templates: time 0.00455/0.161, allocations: 2.143 MB / 0.5689 GB, free: 8.938 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.634143750881776]