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.001748/0.001748, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.001689/0.001689, allocations: 214.7 kB / 23.78 MB, free: 4.328 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2605/0.2605, allocations: 46.95 MB / 360.8 MB, free: 3.883 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.002301/0.002301, allocations: 80.16 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3494, allocations: 66.08 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003725/0.3531, allocations: 1.993 MB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3542, allocations: 0.5776 MB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.3543, allocations: 4 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3544, allocations: 19.78 kB / 0.5633 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3545, allocations: 39.64 kB / 0.5633 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.355, allocations: 79.83 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3553, allocations: 191.3 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3554, allocations: 31.55 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3556, allocations: 91.69 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3557, allocations: 67.69 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3558, allocations: 20 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.3558, allocations: 20 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.3559, allocations: 39.83 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.356, allocations: 63.7 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3563, allocations: 175.3 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3563, allocations: 4 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3563, allocations: 0 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3563, allocations: 0 / 0.5641 GB, free: 0.5898 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.0008374/0.3571, allocations: 385.8 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3571, allocations: 12.03 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.3572, allocations: 42.73 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3573, allocations: 24.83 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.3576, allocations: 162.8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3576, allocations: 12.59 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3577, allocations: 15.94 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.3581, allocations: 217.2 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3581, allocations: 11.95 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3581, allocations: 7.984 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3581, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3584, allocations: 99.94 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.3594, allocations: 0.6286 MB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.3597, allocations: 130.6 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3599, allocations: 60.77 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3599, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3599, allocations: 38.56 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3599, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001427/0.3614, allocations: 411.4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3614, allocations: 55.41 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3616, allocations: 162.1 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3616, allocations: 29.7 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.3617, allocations: 116.4 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.3617, allocations: 71.42 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.3618, allocations: 41.66 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3619, allocations: 330.8 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.3621, allocations: 67.95 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.3624, allocations: 91.39 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.3628, allocations: 175.3 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3628, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005147/0.3633, allocations: 219.9 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3633, allocations: 4 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3633, allocations: 4 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3633, allocations: 4.094 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.3636, allocations: 55.89 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3637, allocations: 7.938 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.3638, allocations: 15.98 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3638, allocations: 4 kB / 0.5676 GB, free: 12.69 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.0001243/0.364, allocations: 129.8 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.364, allocations: 15.91 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.3641, allocations: 21.12 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3641, allocations: 7.938 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3641, allocations: 0 / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3641, allocations: 3.984 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3651, allocations: 0.5566 MB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3651, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3654, allocations: 43.97 kB / 0.5684 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3654, allocations: 4 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3654, allocations: 4 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3654, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3654, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.366, allocations: 303.2 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.366, allocations: 31.88 kB / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.3661, allocations: 0 / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3663, allocations: 23.98 kB / 0.5688 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.3664, allocations: 23.95 kB / 0.5688 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3664, allocations: 4 kB / 0.5688 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.3665, allocations: 116.1 kB / 0.5689 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3665, allocations: 0 / 0.5689 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3668, allocations: 36 kB / 0.5689 GB, free: 11.3 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.0009014/0.3677, allocations: 0.8436 MB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.3682, allocations: 155.8 kB / 0.5699 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3682, allocations: 0 / 0.5699 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.3684, allocations: 94.92 kB / 0.57 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3688, allocations: 16.19 kB / 0.57 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3718, allocations: 2.035 MB / 0.572 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3719, allocations: 108 kB / 0.5721 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.3721, allocations: 29.42 kB / 0.5721 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3722, allocations: 47.41 kB / 0.5722 GB, free: 7.836 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3722, allocations: 0 / 0.5722 GB, free: 7.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.404, allocations: 4.432 MB / 0.5765 GB, free: 3.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.17, allocations: 7.188 kB / 0.5765 GB, free: 3.52 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.390057802200317]