Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001282/0.001282, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001419/0.001419, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 46.94 MB / 360.9 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 68.09 kB / 0.4962 GB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 66.04 MB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003949/0.3371, allocations: 2.088 MB / 0.5627 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3385, allocations: 0.6127 MB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3386, allocations: 7.938 kB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3388, allocations: 19.78 kB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.3389, allocations: 43.64 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.3394, allocations: 75.81 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.3397, allocations: 183.3 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3398, allocations: 43.48 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3401, allocations: 83.81 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3403, allocations: 79.67 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3403, allocations: 16 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.3404, allocations: 16 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.3404, allocations: 35.84 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3405, allocations: 83.62 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.3409, allocations: 183.2 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3409, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3409, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3409, allocations: 0 / 0.5641 GB, free: 0.9375 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.0009695/0.3418, allocations: 385.8 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.3419, allocations: 8.031 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.342, allocations: 46.73 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3422, allocations: 28.83 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.3427, allocations: 164.1 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3427, allocations: 8.609 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.3428, allocations: 15.94 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.3432, allocations: 161.8 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3432, allocations: 3.953 kB / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.3432, allocations: 4 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3432, allocations: 4 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.3436, allocations: 119.8 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3447, allocations: 0.6521 MB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.3451, allocations: 134.5 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3453, allocations: 56.77 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.3453, allocations: 4 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3454, allocations: 30.56 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.3454, allocations: 4 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001537/0.3469, allocations: 413 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.347, allocations: 59.28 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3472, allocations: 158.2 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3472, allocations: 29.7 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3473, allocations: 116.4 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.3474, allocations: 63.44 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.3474, allocations: 37.7 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3476, allocations: 334.7 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3478, allocations: 63.95 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.348, allocations: 106 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3484, allocations: 177.9 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3484, allocations: 0 / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005335/0.349, allocations: 217.4 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.349, allocations: 4 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.349, allocations: 0 / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.349, allocations: 8.094 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3494, allocations: 51.84 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3494, allocations: 0 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3495, allocations: 15.98 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3495, allocations: 4 kB / 0.5677 GB, free: 13.08 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.0001505/0.3497, allocations: 129.8 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.3497, allocations: 15.91 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.3498, allocations: 29.11 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3498, allocations: 3.938 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3498, allocations: 4 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3498, allocations: 0 / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.351, allocations: 0.5816 MB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.351, allocations: 4 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3512, allocations: 47.91 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3512, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3513, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3513, allocations: 4 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3513, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.3518, allocations: 309.8 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.3519, allocations: 27.88 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.352, allocations: 4 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3522, allocations: 15.98 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3522, allocations: 19.91 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3523, allocations: 4 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3524, allocations: 116.1 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3524, allocations: 7.938 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.3527, allocations: 36 kB / 0.569 GB, free: 11.66 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.0009489/0.3536, allocations: 0.8371 MB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.3542, allocations: 163.8 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3542, allocations: 0 / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3544, allocations: 86.47 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3547, allocations: 18.84 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.3579, allocations: 2.031 MB / 0.572 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3583, allocations: 0.7209 MB / 0.5727 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.3585, allocations: 29.41 kB / 0.5728 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3587, allocations: 47.42 kB / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of SimCode: time 1.472e-06/0.3587, allocations: 0 / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.3925, allocations: 3.923 MB / 0.5766 GB, free: 3.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.66, allocations: 12 kB / 0.5766 GB, free: 3.789 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/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_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.496430821018293]