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.001716/0.001716, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002047/0.002047, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2243/0.2243, allocations: 46.92 MB / 357.1 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.89 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 65.99 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003565/0.1335, allocations: 2.07 MB / 0.5574 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1347, allocations: 0.6194 MB / 0.558 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.1348, allocations: 4 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1349, allocations: 19.8 kB / 0.558 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.135, allocations: 39.62 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1354, allocations: 79.83 kB / 0.5581 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.1357, allocations: 187.2 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1358, allocations: 37.52 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.136, allocations: 87.77 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1362, allocations: 83.61 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1362, allocations: 12 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.1363, allocations: 20 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1363, allocations: 39.88 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.1364, allocations: 71.66 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1367, allocations: 187.2 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1367, allocations: 0 / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1367, allocations: 0 / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1367, allocations: 0 / 0.5588 GB, free: 2.266 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.0008399/0.1375, allocations: 459 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1376, allocations: 16.02 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.1376, allocations: 42.75 kB / 0.5593 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1378, allocations: 24.83 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1381, allocations: 220.6 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1381, allocations: 8.609 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.1381, allocations: 15.94 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1385, allocations: 164.1 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1385, allocations: 7.891 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.1385, allocations: 8 kB / 0.5598 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1386, allocations: 4 kB / 0.5598 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1389, allocations: 107.9 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.1398, allocations: 0.6727 MB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1402, allocations: 142.5 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1403, allocations: 56.77 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1404, allocations: 4 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1404, allocations: 34.56 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1404, allocations: 4 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001448/0.1419, allocations: 405.1 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1419, allocations: 55.34 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.142, allocations: 162.2 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1421, allocations: 33.64 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.1422, allocations: 120.3 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.1422, allocations: 63.44 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.1423, allocations: 37.7 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1424, allocations: 330.8 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1427, allocations: 63.95 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1429, allocations: 103.3 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.1433, allocations: 174.4 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1433, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005573/0.1439, allocations: 221.3 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1439, allocations: 4 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1439, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1439, allocations: 8.094 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1442, allocations: 55.89 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1442, allocations: 0 / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1444, allocations: 11.98 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1444, allocations: 8 kB / 0.5625 GB, free: 14.21 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.0001224/0.1445, allocations: 125.8 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1446, allocations: 15.91 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.1447, allocations: 29.17 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1447, allocations: 3.938 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1447, allocations: 4 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1447, allocations: 0 / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1458, allocations: 0.6214 MB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1458, allocations: 4 kB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.146, allocations: 43.97 kB / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.146, allocations: 0 / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1461, allocations: 3.984 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1461, allocations: 4 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1461, allocations: 0 / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.1466, allocations: 309.6 kB / 0.5637 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1467, allocations: 101 kB / 0.5637 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1468, allocations: 8 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.147, allocations: 15.92 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.1471, allocations: 15.97 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1471, allocations: 4 kB / 0.5638 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.1472, allocations: 115.2 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1472, allocations: 8 kB / 0.5639 GB, free: 12.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.1475, allocations: 36 kB / 0.5639 GB, free: 12.66 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.0008978/0.1484, allocations: 0.8332 MB / 0.5648 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.1489, allocations: 160.9 kB / 0.5649 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1489, allocations: 0 / 0.5649 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.1491, allocations: 87.88 kB / 0.565 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1495, allocations: 20.17 kB / 0.565 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.1525, allocations: 2.037 MB / 0.567 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1529, allocations: 0.7171 MB / 0.5677 GB, free: 8.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.1531, allocations: 29.41 kB / 0.5677 GB, free: 8.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1532, allocations: 43.42 kB / 0.5678 GB, free: 8.586 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1532, allocations: 4 kB / 0.5678 GB, free: 8.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1801, allocations: 3.726 MB / 0.5714 GB, free: 4.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/8.785, allocations: 13.95 kB / 0.5714 GB, free: 4.941 MB / 430.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199601 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv","/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] "Error: Could not read variable gasForce.f in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.f from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.T in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.T from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.V in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.V from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.v_rel in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.v_rel from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.press in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.press from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.943762868992053]