Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001368/0.001368, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002233/0.002233, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2529/0.2529, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003245/0.003245, allocations: 67.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3272, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003819/0.331, allocations: 2.007 MB / 0.5589 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3323, allocations: 0.5738 MB / 0.5595 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3324, allocations: 0 / 0.5595 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3325, allocations: 19.78 kB / 0.5595 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.3327, allocations: 47.58 kB / 0.5596 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.3332, allocations: 79.88 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3334, allocations: 183.2 kB / 0.5598 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3336, allocations: 31.55 kB / 0.5598 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.3338, allocations: 87.75 kB / 0.5599 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.334, allocations: 75.61 kB / 0.56 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.334, allocations: 20 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.3341, allocations: 16 kB / 0.56 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.3341, allocations: 31.91 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.3342, allocations: 75.69 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3344, allocations: 175.3 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3345, allocations: 0 / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3345, allocations: 0 / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3345, allocations: 0 / 0.5603 GB, free: 4.109 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.0007857/0.3352, allocations: 385.8 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3353, allocations: 15.97 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.3353, allocations: 50.67 kB / 0.5607 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.3355, allocations: 24.83 kB / 0.5607 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3358, allocations: 156.7 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3358, allocations: 8.609 kB / 0.5609 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.3358, allocations: 15.94 kB / 0.5609 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3362, allocations: 217.2 kB / 0.5611 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3362, allocations: 11.95 kB / 0.5611 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3362, allocations: 4 kB / 0.5611 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.3363, allocations: 7.938 kB / 0.5611 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3366, allocations: 107.9 kB / 0.5613 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.3375, allocations: 0.6209 MB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.3379, allocations: 134.6 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.338, allocations: 56.72 kB / 0.562 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3381, allocations: 7.984 kB / 0.562 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3381, allocations: 34.56 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3381, allocations: 0 / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001394/0.3395, allocations: 412.6 kB / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3395, allocations: 51.41 kB / 0.5625 GB, free: 1.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3397, allocations: 158.2 kB / 0.5627 GB, free: 1.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3397, allocations: 25.7 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.3398, allocations: 120.4 kB / 0.5628 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.3399, allocations: 59.44 kB / 0.5629 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.3399, allocations: 45.66 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3401, allocations: 334.8 kB / 0.5632 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.3403, allocations: 59.97 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.3405, allocations: 103.3 kB / 0.5634 GB, free: 0.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3409, allocations: 177.2 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3409, allocations: 0 / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004984/0.3414, allocations: 216.8 kB / 0.5638 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3414, allocations: 8 kB / 0.5638 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3414, allocations: 3.938 kB / 0.5638 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3414, allocations: 0 / 0.5638 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3417, allocations: 59.94 kB / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3418, allocations: 0 / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3419, allocations: 15.98 kB / 0.5638 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3419, allocations: 4 kB / 0.5639 GB, free: 224 kB / 398.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.0001246/0.3421, allocations: 133.8 kB / 0.564 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3421, allocations: 15.91 kB / 0.564 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.3421, allocations: 21.12 kB / 0.564 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3422, allocations: 7.875 kB / 0.564 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3422, allocations: 4 kB / 0.564 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3422, allocations: 3.984 kB / 0.564 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.3432, allocations: 0.545 MB / 0.5646 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3432, allocations: 0 / 0.5646 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.3435, allocations: 47.95 kB / 0.5646 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3435, allocations: 8 kB / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3435, allocations: 0 / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3435, allocations: 7.875 kB / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3435, allocations: 0 / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.344, allocations: 307.2 kB / 0.5649 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.3441, allocations: 23.89 kB / 0.5649 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.3441, allocations: 7.984 kB / 0.5649 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.3443, allocations: 23.98 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3444, allocations: 15.97 kB / 0.565 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3444, allocations: 4 kB / 0.565 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.981e-05/0.3445, allocations: 120.1 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3445, allocations: 0 / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3448, allocations: 36 kB / 0.5651 GB, free: 14.82 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.0008342/0.3456, allocations: 0.8355 MB / 0.566 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.3461, allocations: 159.8 kB / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3461, allocations: 0 / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.3463, allocations: 91.84 kB / 0.5662 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3466, allocations: 15.98 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3495, allocations: 2.05 MB / 0.5682 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3496, allocations: 108 kB / 0.5683 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.3498, allocations: 25.42 kB / 0.5683 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3499, allocations: 51.41 kB / 0.5684 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3499, allocations: 0 / 0.5684 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.3817, allocations: 4.355 MB / 0.5726 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 6.531 kB / 0.5726 GB, free: 7.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.424909688066691]