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.001936/0.001936, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002475/0.002475, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2134/0.2134, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.002056/0.002056, allocations: 68.19 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003716/0.3404, allocations: 2.087 MB / 0.5591 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3416, allocations: 0.6088 MB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3417, allocations: 4 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3418, allocations: 19.8 kB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3419, allocations: 47.58 kB / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3423, allocations: 79.88 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.3426, allocations: 187.3 kB / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3427, allocations: 35.53 kB / 0.56 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3429, allocations: 91.7 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3431, allocations: 83.66 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.3431, allocations: 16 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.3431, allocations: 16 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3432, allocations: 35.84 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.3433, allocations: 71.66 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3435, allocations: 187.2 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3435, allocations: 0 / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3435, allocations: 0 / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3436, allocations: 0 / 0.5605 GB, free: 4.211 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.0007974/0.3444, allocations: 389.8 kB / 0.5609 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3444, allocations: 8.031 kB / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.3445, allocations: 46.69 kB / 0.5609 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3446, allocations: 24.83 kB / 0.5609 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3449, allocations: 164.1 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3449, allocations: 8.609 kB / 0.5611 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.345, allocations: 15.94 kB / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.3453, allocations: 165.8 kB / 0.5613 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3454, allocations: 7.953 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3454, allocations: 0 / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3454, allocations: 7.938 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3457, allocations: 119.8 kB / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.3466, allocations: 0.6443 MB / 0.562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.347, allocations: 134.6 kB / 0.5622 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3471, allocations: 56.77 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3471, allocations: 7.938 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3472, allocations: 30.56 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3472, allocations: 0 / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001325/0.3485, allocations: 411.2 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3485, allocations: 51.41 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3487, allocations: 154.2 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3487, allocations: 33.7 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3488, allocations: 116.4 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3488, allocations: 71.41 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.3489, allocations: 37.7 kB / 0.5631 GB, free: 1.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3491, allocations: 330.8 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3493, allocations: 67.89 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.3495, allocations: 107.3 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.3499, allocations: 176.7 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3499, allocations: 0 / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000476/0.3503, allocations: 221.4 kB / 0.564 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3503, allocations: 4 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3504, allocations: 0 / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3504, allocations: 4 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3507, allocations: 59.92 kB / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3507, allocations: 0 / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3508, allocations: 15.98 kB / 0.564 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3509, allocations: 4 kB / 0.564 GB, free: 356 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.000116/0.351, allocations: 125.8 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.351, allocations: 15.91 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3511, allocations: 21.12 kB / 0.5642 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3511, allocations: 11.92 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3511, allocations: 7.938 kB / 0.5642 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3511, allocations: 0 / 0.5642 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3521, allocations: 0.579 MB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3521, allocations: 0 / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3524, allocations: 51.95 kB / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3524, allocations: 0 / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3524, allocations: 0 / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.3524, allocations: 11.88 kB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3524, allocations: 0 / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.3529, allocations: 303.3 kB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.353, allocations: 23.89 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.353, allocations: 8 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3532, allocations: 11.98 kB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.3533, allocations: 15.97 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3533, allocations: 7.984 kB / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.664e-05/0.3534, allocations: 116.1 kB / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3537, allocations: 39.94 kB / 0.5653 GB, free: 14.93 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.0008098/0.3545, allocations: 0.8394 MB / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.3549, allocations: 159.8 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3549, allocations: 0 / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.3551, allocations: 83.89 kB / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3555, allocations: 19.98 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.3583, allocations: 2.045 MB / 0.5684 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3586, allocations: 0.717 MB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3588, allocations: 29.41 kB / 0.5691 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3589, allocations: 47.42 kB / 0.5692 GB, free: 10.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3589, allocations: 0 / 0.5692 GB, free: 10.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.3897, allocations: 3.927 MB / 0.573 GB, free: 7.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.05, allocations: 6.875 kB / 0.573 GB, free: 7.059 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: 15.07156006898731]