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.001582/0.001582, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001822/0.001822, allocations: 210.9 kB / 23.73 MB, free: 4.523 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2261/0.2261, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.002017/0.002017, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003878/0.3125, allocations: 1.994 MB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3136, allocations: 0.5699 MB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.3137, allocations: 4 kB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3138, allocations: 23.78 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3139, allocations: 43.58 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.3144, allocations: 75.88 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.3147, allocations: 191.3 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3148, allocations: 35.55 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.315, allocations: 83.7 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3152, allocations: 83.67 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.3152, allocations: 16 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.3153, allocations: 16 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3153, allocations: 39.83 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3154, allocations: 67.7 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.3157, allocations: 179.3 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3157, allocations: 4 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3157, allocations: 0 / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3157, allocations: 0 / 0.5639 GB, free: 0.7852 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.0008355/0.3166, allocations: 381.8 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3166, allocations: 8.031 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.3167, allocations: 46.73 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3168, allocations: 28.83 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3171, allocations: 166 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3171, allocations: 8.609 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.3172, allocations: 15.94 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.3176, allocations: 217.2 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3176, allocations: 3.953 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3177, allocations: 11.94 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3177, allocations: 7.938 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.318, allocations: 107.9 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.3189, allocations: 0.6248 MB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.3193, allocations: 130.6 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3194, allocations: 60.77 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3194, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3195, allocations: 38.5 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3195, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001349/0.3208, allocations: 412.6 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3209, allocations: 51.41 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.321, allocations: 154.2 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.321, allocations: 33.7 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.3211, allocations: 112.4 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.3212, allocations: 67.42 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.3213, allocations: 41.67 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3214, allocations: 330.8 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3216, allocations: 67.95 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.3218, allocations: 95.33 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.3223, allocations: 173.8 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3223, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005094/0.3228, allocations: 221.3 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3228, allocations: 4 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3228, allocations: 4 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3228, allocations: 4.094 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.3231, allocations: 51.84 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3231, allocations: 7.984 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3233, allocations: 12 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3233, allocations: 7.984 kB / 0.5675 GB, free: 12.9 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.0001307/0.3234, allocations: 129.8 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.3235, allocations: 15.91 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.3235, allocations: 21.06 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3235, allocations: 15.92 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3235, allocations: 0 / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3235, allocations: 3.984 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3246, allocations: 0.5545 MB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3246, allocations: 3.984 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3248, allocations: 43.97 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3248, allocations: 0 / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3249, allocations: 4 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3249, allocations: 3.938 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3249, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.3254, allocations: 303.9 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.3255, allocations: 35.88 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3255, allocations: 4 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3257, allocations: 15.98 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.3258, allocations: 19.97 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3258, allocations: 4 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.3259, allocations: 120.1 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3259, allocations: 0 / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3262, allocations: 36 kB / 0.5688 GB, free: 11.5 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.0008615/0.327, allocations: 0.8395 MB / 0.5696 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.3275, allocations: 155.8 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3275, allocations: 0 / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3277, allocations: 87.84 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3281, allocations: 28.16 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.331, allocations: 2.042 MB / 0.5718 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3311, allocations: 108 kB / 0.5719 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3313, allocations: 29.41 kB / 0.572 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3314, allocations: 47.41 kB / 0.572 GB, free: 8.031 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3314, allocations: 0 / 0.572 GB, free: 8.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.3735, allocations: 4.413 MB / 0.5763 GB, free: 3.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.95, allocations: 6.328 kB / 0.5763 GB, free: 3.762 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: 13.909970059001353]