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.001382/0.001382, allocations: 82.25 kB / 21.25 MB, free: 0.5469 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.001438/0.001438, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.409/1.409, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.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.2105/0.2105, allocations: 34.26 MB / 295.4 MB, free: 14.48 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: 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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 75.88 kB / 443.2 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3719, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002777/0.3746, allocations: 2.01 MB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.3755, allocations: 0.5625 MB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.3756, allocations: 6.938 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3757, allocations: 21.8 kB / 0.4998 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.31e-05/0.3758, allocations: 42.16 kB / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.3761, allocations: 83.56 kB / 0.4999 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3763, allocations: 188.7 kB / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3764, allocations: 36.73 kB / 0.5001 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3766, allocations: 81.45 kB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3767, allocations: 74.42 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3767, allocations: 12.81 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.3768, allocations: 16.47 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.3768, allocations: 41.39 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.3769, allocations: 64.5 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3771, allocations: 186.6 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3771, allocations: 3.938 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3771, allocations: 0 / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3771, allocations: 3.516 kB / 0.5006 GB, free: 27.69 MB / 446.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.0006823/0.3778, allocations: 384.1 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3778, allocations: 10.75 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.378, allocations: 25.16 kB / 0.501 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.3782, allocations: 159.7 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3782, allocations: 7.234 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3782, allocations: 14.56 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.3785, allocations: 216.1 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3785, allocations: 3.953 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3786, allocations: 3.094 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3786, allocations: 7.219 kB / 0.5014 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3789, allocations: 109.5 kB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.3795, allocations: 0.6061 MB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.3798, allocations: 128.2 kB / 0.5022 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.38, allocations: 59.94 kB / 0.5023 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.38, allocations: 0 / 0.5023 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.38, allocations: 41.69 kB / 0.5023 GB, free: 26.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.38, allocations: 0 / 0.5023 GB, free: 26.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001303/0.3813, allocations: 406.7 kB / 0.5027 GB, free: 26.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.3814, allocations: 51.41 kB / 0.5028 GB, free: 26.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.3815, allocations: 149 kB / 0.5029 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3815, allocations: 31.3 kB / 0.5029 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.3815, allocations: 126.2 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.3816, allocations: 66.02 kB / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.3816, allocations: 41.42 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.3817, allocations: 324.8 kB / 0.5035 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3819, allocations: 75.67 kB / 0.5035 GB, free: 25.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3821, allocations: 94.11 kB / 0.5036 GB, free: 25.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.3825, allocations: 168.7 kB / 0.5038 GB, free: 25.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3825, allocations: 6.641 kB / 0.5038 GB, free: 25.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004316/0.3829, allocations: 215.4 kB / 0.504 GB, free: 25.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3829, allocations: 3.094 kB / 0.504 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3829, allocations: 3 kB / 0.504 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3829, allocations: 3.422 kB / 0.504 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3832, allocations: 54.23 kB / 0.5041 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3832, allocations: 7.656 kB / 0.5041 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3834, allocations: 16.97 kB / 0.5041 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3834, allocations: 10.53 kB / 0.5041 GB, free: 25.16 MB / 446.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 8.005e-05/0.3835, allocations: 131.3 kB / 0.5042 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3835, allocations: 14.19 kB / 0.5042 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.3836, allocations: 20.34 kB / 0.5042 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3836, allocations: 0 / 0.5042 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3836, allocations: 3.375 kB / 0.5043 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3836, allocations: 11.25 kB / 0.5043 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.3844, allocations: 0.5207 MB / 0.5048 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3844, allocations: 7.938 kB / 0.5048 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3846, allocations: 48.08 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3846, allocations: 2.812 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3847, allocations: 0 / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3847, allocations: 4 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3847, allocations: 2.75 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.3851, allocations: 301.5 kB / 0.5051 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3851, allocations: 35.45 kB / 0.5052 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3852, allocations: 0 / 0.5052 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3854, allocations: 13.5 kB / 0.5052 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3854, allocations: 20.38 kB / 0.5052 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3855, allocations: 9.938 kB / 0.5052 GB, free: 24.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.3855, allocations: 112.4 kB / 0.5053 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3855, allocations: 0 / 0.5053 GB, free: 24.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3858, allocations: 39.16 kB / 0.5053 GB, free: 24.29 MB / 446.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 9.531e-05/0.3859, allocations: 98.97 kB / 0.5054 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3863, allocations: 165.9 kB / 0.5056 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3863, allocations: 4 kB / 0.5056 GB, free: 24.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3865, allocations: 80.7 kB / 0.5057 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3868, allocations: 23.45 kB / 0.5057 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.3875, allocations: 365.2 kB / 0.506 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.3875, allocations: 106.7 kB / 0.5061 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3877, allocations: 29.52 kB / 0.5062 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.3878, allocations: 20.86 kB / 0.5062 GB, free: 23.79 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3878, allocations: 0 / 0.5062 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004914/0.3927, allocations: 1.942 MB / 0.5081 GB, free: 23.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.95447381795384]