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.001634/0.001634, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001705/0.001705, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.494/1.494, allocations: 230.4 MB / 254 MB, free: 15.13 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.2386/0.2386, allocations: 46.92 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 87.86 kB / 0.491 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1357, allocations: 66.03 MB / 0.5555 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003563/0.1392, allocations: 2.089 MB / 0.5575 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1404, allocations: 0.6 MB / 0.5581 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1405, allocations: 7.938 kB / 0.5581 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1406, allocations: 23.8 kB / 0.5581 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1407, allocations: 39.62 kB / 0.5582 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.1412, allocations: 79.81 kB / 0.5582 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1414, allocations: 187.3 kB / 0.5584 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1416, allocations: 33.47 kB / 0.5584 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1418, allocations: 95.75 kB / 0.5585 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1419, allocations: 75.67 kB / 0.5586 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.142, allocations: 16 kB / 0.5586 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.142, allocations: 20 kB / 0.5586 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1421, allocations: 35.89 kB / 0.5587 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.1421, allocations: 79.58 kB / 0.5587 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1424, allocations: 175.3 kB / 0.5589 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1424, allocations: 0 / 0.5589 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1424, allocations: 3.938 kB / 0.5589 GB, free: 1.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1424, allocations: 0 / 0.5589 GB, free: 1.934 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.0008307/0.1433, allocations: 469.3 kB / 0.5594 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1433, allocations: 8.031 kB / 0.5594 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.1434, allocations: 42.75 kB / 0.5594 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1435, allocations: 24.83 kB / 0.5594 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1438, allocations: 220.6 kB / 0.5596 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1438, allocations: 12.61 kB / 0.5597 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.1439, allocations: 15.94 kB / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1443, allocations: 161.8 kB / 0.5598 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1443, allocations: 3.953 kB / 0.5598 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1443, allocations: 4 kB / 0.5598 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1443, allocations: 4 kB / 0.5598 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1446, allocations: 115.8 kB / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.1456, allocations: 0.6805 MB / 0.5606 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.146, allocations: 141.5 kB / 0.5608 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1461, allocations: 60.77 kB / 0.5608 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1462, allocations: 0 / 0.5608 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1462, allocations: 34.56 kB / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1462, allocations: 0 / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001476/0.1477, allocations: 401.2 kB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1477, allocations: 55.41 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1479, allocations: 162.8 kB / 0.5614 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1479, allocations: 25.7 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.148, allocations: 128.3 kB / 0.5616 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.1481, allocations: 67.44 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.1482, allocations: 33.7 kB / 0.5617 GB, free: 14.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1483, allocations: 330.8 kB / 0.562 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1485, allocations: 59.95 kB / 0.562 GB, free: 14.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1488, allocations: 106.7 kB / 0.5622 GB, free: 14.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.1492, allocations: 174.2 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1492, allocations: 0 / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005485/0.1497, allocations: 217.4 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1498, allocations: 5.719 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1498, allocations: 4 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1498, allocations: 96 / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1501, allocations: 63.83 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1501, allocations: 4 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1503, allocations: 11.98 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1503, allocations: 8 kB / 0.5626 GB, free: 13.87 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.0001425/0.1505, allocations: 129.8 kB / 0.5627 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1505, allocations: 15.91 kB / 0.5628 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.1506, allocations: 21.17 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1506, allocations: 11.94 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1506, allocations: 0 / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1506, allocations: 0 / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1518, allocations: 0.6084 MB / 0.5634 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1518, allocations: 0 / 0.5634 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.152, allocations: 51.84 kB / 0.5634 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.152, allocations: 0 / 0.5634 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1521, allocations: 15.98 kB / 0.5634 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1521, allocations: 0 / 0.5634 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1521, allocations: 3.938 kB / 0.5635 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1526, allocations: 303 kB / 0.5637 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1527, allocations: 105 kB / 0.5638 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1528, allocations: 4 kB / 0.5638 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.153, allocations: 11.98 kB / 0.5639 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.1531, allocations: 19.97 kB / 0.5639 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1531, allocations: 8 kB / 0.5639 GB, free: 12.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1532, allocations: 116.1 kB / 0.564 GB, free: 12.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1532, allocations: 3.938 kB / 0.564 GB, free: 12.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1535, allocations: 44 kB / 0.564 GB, free: 12.31 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.0008992/0.1544, allocations: 0.8216 MB / 0.5648 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.1549, allocations: 171.8 kB / 0.565 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1549, allocations: 0 / 0.565 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.1551, allocations: 79.89 kB / 0.5651 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1555, allocations: 18.75 kB / 0.5651 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.1587, allocations: 2.036 MB / 0.5671 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.1592, allocations: 0.721 MB / 0.5678 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1594, allocations: 29.36 kB / 0.5678 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1595, allocations: 47.42 kB / 0.5679 GB, free: 8.254 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1595, allocations: 0 / 0.5679 GB, free: 8.254 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.1881, allocations: 3.719 MB / 0.5715 GB, free: 4.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/8.617, allocations: 12.05 kB / 0.5715 GB, free: 4.613 MB / 430.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.f from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.T in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.T from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.V in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.V from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.v_rel in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.v_rel from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.press in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.press from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.879161880002357]