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.001854/0.001854, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002233/0.002233, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.405/1.405, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2198/0.2198, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.002337/0.002337, allocations: 83.86 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2912, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003242/0.2944, allocations: 2.084 MB / 0.5628 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2956, allocations: 0.6127 MB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.926e-05/0.2957, allocations: 4 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2958, allocations: 19.78 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2959, allocations: 39.58 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2963, allocations: 83.83 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.2966, allocations: 183.3 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2967, allocations: 39.48 kB / 0.5637 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2969, allocations: 87.75 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.297, allocations: 79.67 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.2971, allocations: 12 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.2971, allocations: 20 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.2972, allocations: 35.84 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.2973, allocations: 83.62 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.2975, allocations: 187.2 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2975, allocations: 0 / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2975, allocations: 0 / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2975, allocations: 0 / 0.5642 GB, free: 0.7148 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.0007882/0.2983, allocations: 377.8 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2984, allocations: 12.03 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.2984, allocations: 50.73 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2986, allocations: 24.83 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.2989, allocations: 162.2 kB / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2989, allocations: 8.609 kB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.2989, allocations: 15.94 kB / 0.5648 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.2993, allocations: 161.8 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2993, allocations: 11.95 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2993, allocations: 4 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2994, allocations: 4 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2997, allocations: 107.9 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.3006, allocations: 0.6559 MB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3009, allocations: 126.6 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.301, allocations: 56.77 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3011, allocations: 4 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3011, allocations: 34.56 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3011, allocations: 3.938 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001331/0.3024, allocations: 415.3 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3025, allocations: 51.41 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3026, allocations: 154.2 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3026, allocations: 33.7 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3027, allocations: 120.3 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.3028, allocations: 63.44 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.3029, allocations: 37.7 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.303, allocations: 338.6 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.3032, allocations: 71.95 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3034, allocations: 99.33 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.3038, allocations: 175.3 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3038, allocations: 0 / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004897/0.3043, allocations: 223.6 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3043, allocations: 8 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3043, allocations: 0 / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3044, allocations: 4 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3047, allocations: 47.91 kB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3047, allocations: 3.938 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.3048, allocations: 15.98 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3049, allocations: 4 kB / 0.5677 GB, free: 12.86 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.0001123/0.305, allocations: 129.9 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.305, allocations: 19.89 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.3051, allocations: 21.12 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3051, allocations: 7.922 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3051, allocations: 0 / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3051, allocations: 4 kB / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3061, allocations: 0.5878 MB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3061, allocations: 0 / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.3064, allocations: 43.97 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3064, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3064, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3064, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3064, allocations: 4 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.3069, allocations: 310.1 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.307, allocations: 27.88 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.307, allocations: 4 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3072, allocations: 15.98 kB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.3073, allocations: 19.97 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3073, allocations: 4 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.3074, allocations: 115.2 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 3.938 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3077, allocations: 36 kB / 0.569 GB, free: 11.44 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.0008267/0.3085, allocations: 0.8372 MB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.309, allocations: 159.8 kB / 0.57 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.309, allocations: 0 / 0.57 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.3092, allocations: 91.17 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3095, allocations: 27.92 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.3123, allocations: 2.035 MB / 0.5721 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3127, allocations: 0.7209 MB / 0.5728 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.3128, allocations: 29.41 kB / 0.5729 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3129, allocations: 43.42 kB / 0.5729 GB, free: 7.355 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3129, allocations: 4 kB / 0.5729 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.3432, allocations: 3.916 MB / 0.5767 GB, free: 3.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.58, allocations: 0 / 0.5767 GB, free: 3.551 MB / 414.1 MB " [Timeout remaining time 648] (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.53111433400045]