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.001319/0.001319, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001434/0.001434, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2194/0.2194, allocations: 46.93 MB / 360.9 MB, free: 4.312 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.001976/0.001976, allocations: 67.91 kB / 0.4962 GB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 66.03 MB / 0.5606 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003681/0.324, allocations: 2.099 MB / 0.5627 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3252, allocations: 0.6088 MB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3253, allocations: 7.938 kB / 0.5633 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.3255, allocations: 19.78 kB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3256, allocations: 39.64 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.326, allocations: 83.81 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3263, allocations: 183.3 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3264, allocations: 31.55 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3266, allocations: 87.75 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3268, allocations: 83.67 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.3268, allocations: 12 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.3269, allocations: 16 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.327, allocations: 39.83 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.3271, allocations: 79.66 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3274, allocations: 183.2 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3274, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3274, allocations: 4 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.3274, allocations: 0 / 0.5641 GB, free: 0.9336 MB / 398.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.0009012/0.3283, allocations: 385.8 kB / 0.5645 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3284, allocations: 12.03 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.3284, allocations: 46.73 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.3286, allocations: 28.83 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.329, allocations: 158.8 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.329, allocations: 4.609 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.329, allocations: 15.94 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.3294, allocations: 157.8 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3294, allocations: 7.953 kB / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3294, allocations: 8 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3294, allocations: 4 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.3298, allocations: 115.8 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.3307, allocations: 0.6521 MB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3311, allocations: 130.5 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3312, allocations: 60.77 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3313, allocations: 0 / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3313, allocations: 46.5 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/0.3313, allocations: 3.984 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001335/0.3326, allocations: 404.6 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3327, allocations: 59.41 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3328, allocations: 150.2 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3329, allocations: 33.64 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.333, allocations: 120.4 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.333, allocations: 63.44 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.3331, allocations: 41.64 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3333, allocations: 330.8 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3335, allocations: 67.95 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3337, allocations: 101.4 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3341, allocations: 173.5 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3341, allocations: 4 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004724/0.3345, allocations: 209.4 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3346, allocations: 18.58 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3346, allocations: 0 / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3346, allocations: 0 / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.3349, allocations: 55.84 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.3349, allocations: 0 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3351, allocations: 15.98 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3351, allocations: 4 kB / 0.5677 GB, free: 13.08 MB / 414.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.000125/0.3352, allocations: 133.8 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3353, allocations: 15.91 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.3353, allocations: 25.11 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3353, allocations: 3.938 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3353, allocations: 0 / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3353, allocations: 0 / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3363, allocations: 0.586 MB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3363, allocations: 4 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.3366, allocations: 43.91 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3366, allocations: 4 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3366, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3366, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3366, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.3371, allocations: 303.3 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.3372, allocations: 35.86 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.3372, allocations: 4 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3374, allocations: 11.98 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.3375, allocations: 19.97 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3375, allocations: 4 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.3376, allocations: 124.1 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 3.938 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3379, allocations: 36 kB / 0.569 GB, free: 11.65 MB / 414.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.0008343/0.3387, allocations: 0.8353 MB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.3392, allocations: 167.8 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3392, allocations: 0 / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.3394, allocations: 87 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3398, allocations: 24 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.3426, allocations: 2.027 MB / 0.572 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3429, allocations: 0.717 MB / 0.5727 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.3431, allocations: 33.41 kB / 0.5728 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3432, allocations: 43.42 kB / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3432, allocations: 0 / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3727, allocations: 3.927 MB / 0.5766 GB, free: 3.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 3.984 kB / 0.5766 GB, free: 3.789 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.723561275997781]