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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002152/0.002152, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.222/0.222, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.002404/0.002404, allocations: 83.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3185, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003451/0.3219, allocations: 2.002 MB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3231, allocations: 0.5737 MB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.3232, allocations: 0 / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3233, allocations: 23.8 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3234, allocations: 39.64 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.3238, allocations: 79.81 kB / 0.5633 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3241, allocations: 187.3 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3242, allocations: 31.55 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3244, allocations: 87.7 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3246, allocations: 75.66 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.3246, allocations: 12 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.3247, allocations: 24 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.3247, allocations: 35.84 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.3248, allocations: 67.72 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3251, allocations: 179.3 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3251, allocations: 0 / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3251, allocations: 0 / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3251, allocations: 0 / 0.564 GB, free: 0.6055 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.0008106/0.3259, allocations: 389.8 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3259, allocations: 8.031 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.326, allocations: 42.75 kB / 0.5644 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3261, allocations: 28.83 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3264, allocations: 162.1 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3264, allocations: 8.609 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3265, allocations: 15.94 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.3268, allocations: 221.1 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3269, allocations: 7.953 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3269, allocations: 4 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3269, allocations: 4 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3272, allocations: 111.9 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.3281, allocations: 0.6209 MB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.3285, allocations: 138.6 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3286, allocations: 56.77 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3287, allocations: 4 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3287, allocations: 34.5 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3287, allocations: 0 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001385/0.3301, allocations: 411.4 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3301, allocations: 59.34 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3303, allocations: 158.1 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3303, allocations: 29.7 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.3304, allocations: 120.4 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.3304, allocations: 67.42 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.3305, allocations: 41.66 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3307, allocations: 330.8 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.3309, allocations: 71.95 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3311, allocations: 95.39 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3315, allocations: 171.3 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3315, allocations: 0 / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005205/0.332, allocations: 223.6 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3321, allocations: 4 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3321, allocations: 0 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3321, allocations: 4 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.3324, allocations: 59.98 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3324, allocations: 3.938 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3326, allocations: 11.98 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3326, allocations: 8 kB / 0.5676 GB, free: 12.7 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.0001206/0.3327, allocations: 125.8 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3328, allocations: 15.91 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.3328, allocations: 25.11 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3328, allocations: 7.938 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3328, allocations: 3.938 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3328, allocations: 4 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.3339, allocations: 0.5567 MB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3339, allocations: 0 / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3342, allocations: 39.97 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3342, allocations: 0 / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3342, allocations: 8 kB / 0.5683 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3342, allocations: 4 kB / 0.5683 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3342, allocations: 0 / 0.5683 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3348, allocations: 306.1 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.3348, allocations: 27.88 kB / 0.5687 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.3349, allocations: 4 kB / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3351, allocations: 15.98 kB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3352, allocations: 15.97 kB / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3352, allocations: 8 kB / 0.5687 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.575e-05/0.3353, allocations: 116.1 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3353, allocations: 0 / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3356, allocations: 40 kB / 0.5689 GB, free: 11.31 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.0008816/0.3364, allocations: 0.8371 MB / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.3369, allocations: 159.8 kB / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3369, allocations: 4 kB / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.3372, allocations: 86.94 kB / 0.5699 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3376, allocations: 20 kB / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3406, allocations: 2.045 MB / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3407, allocations: 108 kB / 0.572 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.3409, allocations: 29.41 kB / 0.5721 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3411, allocations: 47.42 kB / 0.5721 GB, free: 7.844 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3411, allocations: 0 / 0.5721 GB, free: 7.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.3749, allocations: 4.338 MB / 0.5763 GB, free: 3.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.32, allocations: 11.36 kB / 0.5764 GB, free: 3.617 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.38052228000015]