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.001579/0.001579, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001744/0.001744, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.439/1.439, allocations: 177.2 MB / 204.9 MB, free: 8.891 MB / 190.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.2094/0.2094, allocations: 34.26 MB / 295.5 MB, free: 14.56 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: 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.002434/0.002434, allocations: 72.11 kB / 443.1 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3366, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004118/0.3407, allocations: 2.012 MB / 0.4992 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3422, allocations: 0.5663 MB / 0.4997 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3423, allocations: 2.781 kB / 0.4997 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.3425, allocations: 14.77 kB / 0.4998 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3426, allocations: 44 kB / 0.4998 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.3432, allocations: 91.14 kB / 0.4999 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.3436, allocations: 191.7 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.3438, allocations: 33.67 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.344, allocations: 84.39 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3442, allocations: 77.03 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.3443, allocations: 12.78 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.3444, allocations: 15.94 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.3444, allocations: 37.27 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3445, allocations: 65.52 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3448, allocations: 188.4 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3448, allocations: 0 / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3448, allocations: 3.312 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3449, allocations: 4 kB / 0.5006 GB, free: 27.74 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.0008925/0.3457, allocations: 377.1 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3458, allocations: 9.812 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.346, allocations: 27.98 kB / 0.501 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3463, allocations: 158.2 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3463, allocations: 15.23 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.3464, allocations: 18.58 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3468, allocations: 212.3 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3468, allocations: 7.891 kB / 0.5014 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.3469, allocations: 7.219 kB / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3469, allocations: 0 / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.3473, allocations: 110.1 kB / 0.5015 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.3482, allocations: 0.597 MB / 0.502 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3487, allocations: 128.7 kB / 0.5022 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.3489, allocations: 53.05 kB / 0.5022 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.3489, allocations: 3.156 kB / 0.5022 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3489, allocations: 37.88 kB / 0.5023 GB, free: 26.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.3489, allocations: 0 / 0.5023 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001813/0.3508, allocations: 407.8 kB / 0.5026 GB, free: 26.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3508, allocations: 54.5 kB / 0.5027 GB, free: 26.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3509, allocations: 151.2 kB / 0.5028 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3509, allocations: 29.7 kB / 0.5029 GB, free: 26.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.351, allocations: 122.4 kB / 0.503 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.3511, allocations: 71.98 kB / 0.5031 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.3511, allocations: 38.97 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.3512, allocations: 332.7 kB / 0.5034 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3515, allocations: 60.17 kB / 0.5035 GB, free: 25.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.3518, allocations: 98.56 kB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.3523, allocations: 172.8 kB / 0.5037 GB, free: 25.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3523, allocations: 3.031 kB / 0.5037 GB, free: 25.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006963/0.353, allocations: 221.7 kB / 0.5039 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.353, allocations: 6.781 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3531, allocations: 0 / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3531, allocations: 3.281 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.3535, allocations: 57.06 kB / 0.504 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3535, allocations: 0 / 0.504 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3537, allocations: 13.33 kB / 0.504 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3537, allocations: 10.38 kB / 0.504 GB, free: 25.21 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 0.0001049/0.3538, allocations: 128 kB / 0.5042 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.3539, allocations: 21.62 kB / 0.5042 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.354, allocations: 19.92 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.354, allocations: 0 / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.354, allocations: 0 / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.354, allocations: 3.938 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3552, allocations: 0.5296 MB / 0.5047 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3552, allocations: 10.97 kB / 0.5047 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3556, allocations: 38.64 kB / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3556, allocations: 0 / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.3556, allocations: 4 kB / 0.5048 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3556, allocations: 10.48 kB / 0.5048 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3556, allocations: 0 / 0.5048 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.3563, allocations: 302.2 kB / 0.5051 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.3564, allocations: 33.55 kB / 0.5051 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.3564, allocations: 6.641 kB / 0.5051 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.3567, allocations: 13.81 kB / 0.5051 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.3568, allocations: 16.92 kB / 0.5051 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.3568, allocations: 3.219 kB / 0.5051 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.3569, allocations: 115.2 kB / 0.5052 GB, free: 24.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3569, allocations: 0 / 0.5052 GB, free: 24.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.3574, allocations: 40.91 kB / 0.5053 GB, free: 24.34 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 0.0001037/0.3575, allocations: 107.7 kB / 0.5054 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000654/0.3581, allocations: 165.9 kB / 0.5055 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3582, allocations: 0 / 0.5055 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.3585, allocations: 78.19 kB / 0.5056 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.359, allocations: 30.95 kB / 0.5056 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.3599, allocations: 372.4 kB / 0.506 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.36, allocations: 108.5 kB / 0.5061 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.3602, allocations: 25.97 kB / 0.5061 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3603, allocations: 17.44 kB / 0.5061 GB, free: 23.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3603, allocations: 0 / 0.5061 GB, free: 23.83 MB / 446.1 MB Notification: Performance of Templates: time 0.007046/0.3674, allocations: 1.935 MB / 0.508 GB, free: 23.6 MB / 446.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 -s ida -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: 4.872470165020786]