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.001406/0.001406, allocations: 113.5 kB / 18.45 MB, free: 4.605 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.001471/0.001471, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2617/0.2617, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.001948/0.001948, allocations: 63.91 kB / 0.4921 GB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1329, allocations: 65.99 MB / 0.5565 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003828/0.1367, allocations: 2.078 MB / 0.5585 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1378, allocations: 0.6078 MB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.1379, allocations: 7.938 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.138, allocations: 23.78 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.985e-05/0.1381, allocations: 35.64 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.1386, allocations: 79.83 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1388, allocations: 191.3 kB / 0.5595 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.139, allocations: 33.53 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1392, allocations: 91.75 kB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1393, allocations: 75.69 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1394, allocations: 12 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.1394, allocations: 23.98 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1395, allocations: 35.84 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.1396, allocations: 71.66 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1398, allocations: 187.2 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1398, allocations: 0 / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1398, allocations: 0 / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1399, allocations: 0 / 0.56 GB, free: 1.805 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.000911/0.1408, allocations: 466.9 kB / 0.5604 GB, free: 1.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1408, allocations: 8.031 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.141, allocations: 28.83 kB / 0.5605 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1412, allocations: 217.6 kB / 0.5607 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1413, allocations: 12.61 kB / 0.5607 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.1413, allocations: 20.06 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1417, allocations: 160.2 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1417, allocations: 7.938 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1417, allocations: 8 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1417, allocations: 0 / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.142, allocations: 110.1 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.143, allocations: 0.6805 MB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.1433, allocations: 134.5 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1435, allocations: 52.84 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1435, allocations: 7.922 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1435, allocations: 38.56 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1435, allocations: 0 / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001427/0.145, allocations: 405 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.145, allocations: 55.41 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1452, allocations: 150.9 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1452, allocations: 33.7 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.1453, allocations: 120.4 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.1454, allocations: 67.42 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.1454, allocations: 37.7 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1456, allocations: 338.6 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1458, allocations: 63.97 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.146, allocations: 106 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.1465, allocations: 177 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1465, allocations: 0 / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005134/0.147, allocations: 218.6 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.147, allocations: 8 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.147, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.147, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1473, allocations: 56 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1473, allocations: 3.938 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1475, allocations: 15.98 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1475, allocations: 4 kB / 0.5636 GB, free: 13.8 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.0001265/0.1476, allocations: 133.8 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1477, allocations: 15.91 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.1478, allocations: 21.19 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1478, allocations: 4 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.1478, allocations: 7.938 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1478, allocations: 7.922 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1489, allocations: 0.6143 MB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1489, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1491, allocations: 47.91 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1491, allocations: 0 / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.1492, allocations: 4 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1492, allocations: 0 / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1492, allocations: 4 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.1497, allocations: 303.3 kB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1498, allocations: 101 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1499, allocations: 4 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1501, allocations: 15.98 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.1501, allocations: 11.98 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1502, allocations: 11.98 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.1503, allocations: 115.4 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1503, allocations: 3.938 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1505, allocations: 44 kB / 0.565 GB, free: 12.24 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.0001279/0.1507, allocations: 99.19 kB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.1512, allocations: 162.6 kB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1512, allocations: 0 / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.1514, allocations: 88.03 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1517, allocations: 25.64 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.1526, allocations: 390.4 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1529, allocations: 0.7132 MB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.153, allocations: 19.44 kB / 0.5665 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.153, allocations: 4 kB / 0.5665 GB, free: 10.7 MB / 430.1 MB Notification: Performance of Templates: time 0.004235/0.1573, allocations: 2.156 MB / 0.5686 GB, free: 8.543 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/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.6307831860031]