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.001534/0.001534, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.001546/0.001546, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2446/0.2446, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.001988/0.001988, allocations: 67.89 kB / 0.4914 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1337, allocations: 65.99 MB / 0.5559 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003615/0.1373, allocations: 2.084 MB / 0.5579 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1385, allocations: 0.6039 MB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1386, allocations: 4 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1388, allocations: 15.8 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1389, allocations: 47.56 kB / 0.5585 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1393, allocations: 79.88 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1396, allocations: 183.2 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1397, allocations: 33.53 kB / 0.5588 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1399, allocations: 91.75 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1401, allocations: 79.67 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1401, allocations: 12 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.1402, allocations: 16 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.1402, allocations: 47.81 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.77e-05/0.1403, allocations: 75.66 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1406, allocations: 179.2 kB / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1406, allocations: 0 / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1406, allocations: 0 / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1406, allocations: 0 / 0.5593 GB, free: 1.738 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.000972/0.1416, allocations: 462.9 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1416, allocations: 16.02 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.1418, allocations: 24.84 kB / 0.5598 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1421, allocations: 216.6 kB / 0.56 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1421, allocations: 8.609 kB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1422, allocations: 20.12 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.1426, allocations: 168 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1426, allocations: 7.953 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1426, allocations: 8 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1426, allocations: 4 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.143, allocations: 110 kB / 0.5603 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.144, allocations: 0.6805 MB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1443, allocations: 126.6 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1445, allocations: 52.83 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1445, allocations: 11.94 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1446, allocations: 34.5 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1446, allocations: 0 / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001471/0.146, allocations: 422.7 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1461, allocations: 51.41 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1463, allocations: 154.9 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1463, allocations: 29.7 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.1464, allocations: 116.4 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.1464, allocations: 63.44 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.1465, allocations: 37.7 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1467, allocations: 334.7 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1469, allocations: 67.95 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1471, allocations: 107.3 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.1476, allocations: 168.2 kB / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1476, allocations: 0 / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005545/0.1482, allocations: 227.6 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1482, allocations: 4 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1482, allocations: 0 / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1482, allocations: 4 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.1485, allocations: 51.91 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1485, allocations: 3.938 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1487, allocations: 11.98 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1487, allocations: 8 kB / 0.563 GB, free: 13.73 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.0001392/0.1489, allocations: 125.9 kB / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1489, allocations: 15.91 kB / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.149, allocations: 25.17 kB / 0.5631 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.149, allocations: 0 / 0.5631 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.149, allocations: 7.938 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.149, allocations: 0 / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1501, allocations: 0.6161 MB / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1501, allocations: 0 / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.1504, allocations: 51.89 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1504, allocations: 0 / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1504, allocations: 0 / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1504, allocations: 4 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1504, allocations: 0 / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.151, allocations: 309.6 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1512, allocations: 105 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1512, allocations: 12 kB / 0.5642 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1514, allocations: 11.98 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.1515, allocations: 11.98 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1515, allocations: 8 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1516, allocations: 119.4 kB / 0.5643 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1516, allocations: 7.938 kB / 0.5643 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1519, allocations: 36 kB / 0.5644 GB, free: 12.18 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.0001483/0.1521, allocations: 103.2 kB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.1526, allocations: 160 kB / 0.5646 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1526, allocations: 0 / 0.5646 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1529, allocations: 87.84 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1532, allocations: 19.94 kB / 0.5647 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.1541, allocations: 364.7 kB / 0.5651 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1545, allocations: 0.7171 MB / 0.5658 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.1547, allocations: 33.41 kB / 0.5658 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1548, allocations: 19.42 kB / 0.5658 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1548, allocations: 0 / 0.5658 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Templates: time 0.005776/0.1606, allocations: 1.986 MB / 0.5678 GB, free: 8.652 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/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: 5.129267495125532]