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.001281/0.001281, allocations: 92.31 kB / 20.95 MB, free: 3.602 MB / 18.57 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.001328/0.001328, allocations: 160.9 kB / 24.26 MB, free: 300 kB / 18.57 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 0.9259/0.9259, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2438/0.2438, allocations: 34.24 MB / 295.2 MB, free: 0.6719 MB / 266.7 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 1.512e-06/1.512e-06, allocations: 0 / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.746e-05, allocations: 6.25 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002402/0.002419, allocations: 2.018 MB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007346/0.003154, allocations: 0.5687 MB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.00323, allocations: 4 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.438e-05/0.003325, allocations: 19.78 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.0034, allocations: 43.58 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.003701, allocations: 79.81 kB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.003874, allocations: 203.2 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.003989, allocations: 29.78 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.004143, allocations: 115.7 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.004238, allocations: 59.86 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.004263, allocations: 16 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.312e-05/0.004306, allocations: 16 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.004332, allocations: 39.81 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.004375, allocations: 51.91 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.004572, allocations: 191.4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004574, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004574, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004578, allocations: 4 kB / 380.1 MB, free: 15.96 MB / 362.7 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.0005066/0.005085, allocations: 381.8 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.005123, allocations: 12.03 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.005157, allocations: 46.73 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.005258, allocations: 28.83 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.005432, allocations: 170 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.005442, allocations: 8.609 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.005467, allocations: 12.38 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.005703, allocations: 217.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005714, allocations: 3.984 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.005729, allocations: 8 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005735, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.005909, allocations: 103.9 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.006464, allocations: 0.6297 MB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.006677, allocations: 134.5 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.006759, allocations: 48.84 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.006774, allocations: 4 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.006794, allocations: 38.55 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.006795, allocations: 4 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007838/0.007579, allocations: 412.5 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.007606, allocations: 55.41 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.007706, allocations: 159.7 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.007723, allocations: 29.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.007783, allocations: 128.4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.007821, allocations: 67.38 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.007869, allocations: 37.7 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.007948, allocations: 322.8 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.008058, allocations: 71.89 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.008174, allocations: 100.3 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.008402, allocations: 178.5 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008403, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002936/0.008696, allocations: 221.4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008709, allocations: 8 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008713, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.008726, allocations: 7.984 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.008889, allocations: 47.97 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.008894, allocations: 0 / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.07e-05/0.008965, allocations: 15.92 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.008977, allocations: 8 kB / 383.8 MB, free: 12.06 MB / 362.7 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 7.428e-05/0.009051, allocations: 129.9 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.009084, allocations: 23.91 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.009113, allocations: 25.11 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009114, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.009118, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009121, allocations: 4 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.009974, allocations: 0.5648 MB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.009977, allocations: 3.938 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01009, allocations: 39.97 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0101, allocations: 0 / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01011, allocations: 4 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01011, allocations: 3.984 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01011, allocations: 0 / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.01041, allocations: 314.4 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.01045, allocations: 27.83 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01047, allocations: 4 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.01056, allocations: 15.98 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.01062, allocations: 11.97 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.01063, allocations: 11.94 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.476e-05/0.01069, allocations: 119.4 kB / 385.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01069, allocations: 0 / 385.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01087, allocations: 40 kB / 385.1 MB, free: 10.65 MB / 362.7 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.0004661/0.01134, allocations: 0.8372 MB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.01161, allocations: 162.8 kB / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01161, allocations: 0 / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01173, allocations: 88.08 kB / 386.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01196, allocations: 20 kB / 386.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.01364, allocations: 2.031 MB / 388.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.01371, allocations: 104.2 kB / 388.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.01382, allocations: 33.47 kB / 388.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.01391, allocations: 48.47 kB / 388.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01391, allocations: 0 / 388.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.03112, allocations: 4.54 MB / 393 MB, free: 2.742 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.081, allocations: 3.984 kB / 393 MB, free: 2.738 MB / 362.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/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: 9.104959277436137]