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.001466/0.001466, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001589/0.001589, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.632/1.632, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.2522/0.2522, allocations: 46.96 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 71.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4014, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003722/0.4051, allocations: 2.006 MB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.4062, allocations: 0.5699 MB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.4063, allocations: 0 / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.4064, allocations: 23.78 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4065, allocations: 35.64 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.4069, allocations: 91.81 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.4071, allocations: 183.3 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.4073, allocations: 33.7 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.4075, allocations: 79.78 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.4076, allocations: 79.61 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.4076, allocations: 12 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.4077, allocations: 16 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.4078, allocations: 43.81 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.4078, allocations: 67.72 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.4081, allocations: 181.7 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4081, allocations: 0 / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4081, allocations: 0 / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.4081, allocations: 0 / 0.5651 GB, free: 0.7227 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.0008132/0.4089, allocations: 385.8 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.409, allocations: 12.03 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.4091, allocations: 24.83 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.4094, allocations: 158.8 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4094, allocations: 8.609 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.4094, allocations: 20.11 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.4098, allocations: 213.2 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4098, allocations: 3.953 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4099, allocations: 4 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.4099, allocations: 4 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.4102, allocations: 119.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.4111, allocations: 0.5941 MB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.4115, allocations: 134.5 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4116, allocations: 56.83 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.4116, allocations: 0 / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4117, allocations: 42.5 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.4117, allocations: 0 / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001346/0.413, allocations: 408.9 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4131, allocations: 55.41 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4132, allocations: 151.9 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.4133, allocations: 25.7 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.4133, allocations: 120.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.4134, allocations: 63.44 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.4135, allocations: 45.66 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4137, allocations: 322.8 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4139, allocations: 67.95 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.4141, allocations: 95.39 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.4145, allocations: 173.7 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4145, allocations: 0 / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005204/0.415, allocations: 221.4 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.415, allocations: 4 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.415, allocations: 4 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.415, allocations: 0 / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.4154, allocations: 51.89 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4154, allocations: 8 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.4155, allocations: 19.92 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4156, allocations: 8.094 kB / 0.5686 GB, free: 12.94 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.0001301/0.4157, allocations: 129.8 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.4157, allocations: 15.91 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.4158, allocations: 21.11 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4158, allocations: 4 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4158, allocations: 0 / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4158, allocations: 3.938 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4169, allocations: 0.5316 MB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.4169, allocations: 3.938 kB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.4171, allocations: 43.91 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4171, allocations: 0 / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.4171, allocations: 7.984 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4171, allocations: 4 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4171, allocations: 3.938 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.4177, allocations: 299.9 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.4178, allocations: 39.75 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.4178, allocations: 4 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.418, allocations: 11.98 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.4181, allocations: 15.97 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4181, allocations: 4 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.745e-05/0.4182, allocations: 118.9 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4182, allocations: 0 / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.4186, allocations: 40 kB / 0.5699 GB, free: 11.58 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.0001529/0.4188, allocations: 99.25 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.4193, allocations: 162.2 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4193, allocations: 0 / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.4195, allocations: 92.02 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.42, allocations: 19.94 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.4209, allocations: 383.6 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.421, allocations: 104 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4211, allocations: 23.42 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4211, allocations: 0 / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004517/0.4256, allocations: 2.191 MB / 0.5729 GB, free: 8.473 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] 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: 8.007794944103807]