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.001386/0.001386, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001555/0.001555, allocations: 208.2 kB / 23.72 MB, free: 4.496 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2254/0.2254, allocations: 46.96 MB / 360.9 MB, free: 4.066 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.002076/0.002076, allocations: 75.83 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3131, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003323/0.3164, allocations: 2.006 MB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3175, allocations: 0.5699 MB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.3176, allocations: 3.938 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3177, allocations: 23.73 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.3178, allocations: 35.66 kB / 0.5632 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3181, allocations: 83.81 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3184, allocations: 183.3 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3185, allocations: 35.53 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3187, allocations: 83.7 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3188, allocations: 75.67 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.3188, allocations: 12 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.3189, allocations: 20 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.319, allocations: 43.83 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.319, allocations: 63.72 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3193, allocations: 183.3 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3193, allocations: 0 / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3193, allocations: 0 / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3193, allocations: 0 / 0.5639 GB, free: 0.832 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.0007436/0.32, allocations: 385.8 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3201, allocations: 16.03 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.3201, allocations: 46.75 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3203, allocations: 24.83 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.3205, allocations: 157.8 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3206, allocations: 8.609 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.3206, allocations: 19.92 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.321, allocations: 213.2 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.321, allocations: 3.953 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.321, allocations: 11.94 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.321, allocations: 4 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.3213, allocations: 107.9 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.3222, allocations: 0.6248 MB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.3226, allocations: 134.5 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.3227, allocations: 60.77 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3227, allocations: 4 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3228, allocations: 30.56 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3228, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001321/0.3241, allocations: 412.5 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3241, allocations: 51.41 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3243, allocations: 158.2 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3243, allocations: 33.64 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3244, allocations: 120.4 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.3244, allocations: 63.44 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.3245, allocations: 45.59 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3246, allocations: 330.8 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3248, allocations: 63.95 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.325, allocations: 95.39 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.3254, allocations: 173.5 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3254, allocations: 4 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004914/0.3259, allocations: 213.4 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.326, allocations: 10.66 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.326, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.326, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3263, allocations: 59.83 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3263, allocations: 8.078 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3264, allocations: 15.98 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3265, allocations: 4 kB / 0.5675 GB, free: 12.94 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.0001176/0.3266, allocations: 133.7 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3266, allocations: 15.91 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.3267, allocations: 29.05 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3267, allocations: 3.938 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3267, allocations: 0 / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3267, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.3277, allocations: 0.5586 MB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3277, allocations: 4 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3279, allocations: 39.91 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3279, allocations: 4 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3279, allocations: 4 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.328, allocations: 8 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.328, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.3285, allocations: 302 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.3285, allocations: 27.88 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3286, allocations: 8 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3288, allocations: 11.98 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.3288, allocations: 15.97 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3288, allocations: 12 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.346e-05/0.3289, allocations: 116.1 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3289, allocations: 0 / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3292, allocations: 40 kB / 0.5688 GB, free: 11.54 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.0008228/0.33, allocations: 0.8294 MB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.3305, allocations: 172.5 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3305, allocations: 0 / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3307, allocations: 87.84 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3311, allocations: 15.94 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3339, allocations: 2.037 MB / 0.5718 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.334, allocations: 112 kB / 0.5719 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3342, allocations: 25.41 kB / 0.572 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3343, allocations: 47.42 kB / 0.572 GB, free: 8.082 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3343, allocations: 4 kB / 0.572 GB, free: 8.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.3668, allocations: 4.339 MB / 0.5762 GB, free: 3.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.28, allocations: 10.72 kB / 0.5763 GB, free: 3.875 MB / 414.1 MB " [Timeout remaining time 649] (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.326726438943297]