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.0008254/0.0008254, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008265/0.0008265, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8608/0.8608, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2425/0.2425, allocations: 34.24 MB / 294.8 MB, free: 0.6641 MB / 266.7 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 1.182e-06/1.182e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.474e-05, allocations: 6.219 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.1686/0.1686, allocations: 2.01 MB / 444.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.1693, allocations: 0.5671 MB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.1694, allocations: 2.75 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.135e-05/0.1695, allocations: 20.95 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.1696, allocations: 45.95 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1699, allocations: 83.84 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.17, allocations: 191.6 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1701, allocations: 30.91 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1703, allocations: 125.7 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.1704, allocations: 56.56 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1704, allocations: 17.59 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.1705, allocations: 14.41 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.1705, allocations: 35.19 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1705, allocations: 61.39 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1707, allocations: 184.6 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1707, allocations: 4.281 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1707, allocations: 3.938 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1707, allocations: 3.5 kB / 445.6 MB, free: 43 MB / 410.7 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.0005138/0.1712, allocations: 378.3 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1713, allocations: 12.59 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.1713, allocations: 48.95 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1714, allocations: 26.48 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1716, allocations: 160.4 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1716, allocations: 8.422 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1717, allocations: 12.75 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1719, allocations: 217 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1719, allocations: 6.156 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1719, allocations: 3.438 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1719, allocations: 3.031 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1721, allocations: 111.5 kB / 446.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1727, allocations: 0.6127 MB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1729, allocations: 133.4 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.1729, allocations: 57.31 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.173, allocations: 2.812 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.173, allocations: 38.12 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.173, allocations: 3.938 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007386/0.1737, allocations: 404.1 kB / 447.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.1737, allocations: 54.09 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.1738, allocations: 153.5 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1738, allocations: 33.7 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.1739, allocations: 121 kB / 448.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1739, allocations: 69.83 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1739, allocations: 36.56 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.566e-05/0.1739, allocations: 320.7 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.174, allocations: 75.88 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1742, allocations: 101 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1744, allocations: 177.1 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1744, allocations: 2.812 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002599/0.1746, allocations: 218.5 kB / 449.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1746, allocations: 5.875 kB / 449.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1747, allocations: 5.812 kB / 449.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1747, allocations: 2.938 kB / 449.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1748, allocations: 51.86 kB / 449.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1748, allocations: 0 / 449.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.1749, allocations: 19.75 kB / 449.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1749, allocations: 6.141 kB / 449.2 MB, free: 40.54 MB / 410.7 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 7.079e-05/0.175, allocations: 134.5 kB / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.175, allocations: 18.59 kB / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.175, allocations: 25.36 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1751, allocations: 2.688 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1751, allocations: 0 / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1751, allocations: 0 / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.1756, allocations: 0.5574 MB / 450 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1756, allocations: 3.938 kB / 450 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1757, allocations: 46.59 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1757, allocations: 2.75 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1757, allocations: 3.375 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1757, allocations: 0 / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1757, allocations: 0 / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.176, allocations: 306.7 kB / 450.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.176, allocations: 35.58 kB / 450.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.176, allocations: 2.844 kB / 450.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.1761, allocations: 12.98 kB / 450.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1762, allocations: 16.47 kB / 450.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1762, allocations: 6.031 kB / 450.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.1762, allocations: 121 kB / 450.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1762, allocations: 0 / 450.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.1764, allocations: 35.25 kB / 450.5 MB, free: 39.65 MB / 410.7 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.0003523/0.1768, allocations: 0.8436 MB / 451.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.177, allocations: 155 kB / 451.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.177, allocations: 192 / 451.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1771, allocations: 91 kB / 451.6 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1773, allocations: 17.16 kB / 451.6 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1787, allocations: 2.03 MB / 453.7 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.1788, allocations: 104.8 kB / 453.8 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.269e-05/0.1789, allocations: 30.34 kB / 453.8 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.1789, allocations: 44.53 kB / 453.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1789, allocations: 0 / 453.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.1937, allocations: 4.482 MB / 458.3 MB, free: 36.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.854, allocations: 2.906 kB / 458.3 MB, free: 36.09 MB / 410.7 MB " [Timeout remaining time 653] (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/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_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: 8.87820968683809]