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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|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=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008333/0.0008333, allocations: 95.34 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.163e-06, allocations: 4 kB / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09399, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/0.3524, allocations: 89.31 MB / 0.591 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.3526, allocations: 65.09 kB / 0.5911 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008433/0.361, allocations: 2.639 MB / 0.5936 GB, free: 11.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3611, allocations: 4 kB / 0.5936 GB, free: 11.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005392/0.3616, allocations: 422.6 kB / 0.594 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3616, allocations: 8.031 kB / 0.594 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3618, allocations: 31.8 kB / 0.5941 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.362, allocations: 213.1 kB / 0.5943 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.362, allocations: 4 kB / 0.5943 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3621, allocations: 8 kB / 0.5943 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002007/0.3623, allocations: 85.36 kB / 0.5944 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3625, allocations: 132.7 kB / 0.5945 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3625, allocations: 7.906 kB / 0.5945 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3626, allocations: 0 / 0.5945 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3626, allocations: 4 kB / 0.5945 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.3634, allocations: 0.6647 MB / 0.5952 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3635, allocations: 87.11 kB / 0.5952 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.3636, allocations: 44.98 kB / 0.5953 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3636, allocations: 0 / 0.5953 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3637, allocations: 46.34 kB / 0.5953 GB, free: 9.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3637, allocations: 0 / 0.5953 GB, free: 9.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008808/0.3646, allocations: 292.2 kB / 0.5956 GB, free: 9.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3646, allocations: 55.41 kB / 0.5957 GB, free: 9.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.3647, allocations: 129.1 kB / 0.5958 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3647, allocations: 29.7 kB / 0.5958 GB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.3648, allocations: 109.7 kB / 0.5959 GB, free: 9.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.3648, allocations: 65.02 kB / 0.596 GB, free: 9.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.3649, allocations: 0 / 0.596 GB, free: 9.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.365, allocations: 322 kB / 0.5963 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.3651, allocations: 46.62 kB / 0.5963 GB, free: 8.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3652, allocations: 83.39 kB / 0.5964 GB, free: 8.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.3653, allocations: 60.09 kB / 0.5965 GB, free: 8.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3653, allocations: 0 / 0.5965 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002701/0.3656, allocations: 173 kB / 0.5966 GB, free: 8.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3656, allocations: 8 kB / 0.5966 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3656, allocations: 3.984 kB / 0.5966 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3656, allocations: 0 / 0.5966 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.3659, allocations: 51.97 kB / 0.5967 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.366, allocations: 3.938 kB / 0.5967 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3661, allocations: 20.02 kB / 0.5967 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3662, allocations: 11.06 kB / 0.5967 GB, free: 8.324 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.3663, allocations: 101 kB / 0.5968 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.3663, allocations: 15.81 kB / 0.5968 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.3663, allocations: 21.48 kB / 0.5969 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3664, allocations: 4 kB / 0.5969 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3664, allocations: 3.906 kB / 0.5969 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3664, allocations: 4 kB / 0.5969 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.3672, allocations: 0.5564 MB / 0.5974 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3672, allocations: 4 kB / 0.5974 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.3675, allocations: 43.97 kB / 0.5975 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3675, allocations: 4 kB / 0.5975 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3675, allocations: 0 / 0.5975 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3675, allocations: 0 / 0.5975 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3675, allocations: 0 / 0.5975 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003034/0.3678, allocations: 265.2 kB / 0.5977 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.3679, allocations: 104 kB / 0.5978 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.368, allocations: 7.906 kB / 0.5978 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3682, allocations: 15.98 kB / 0.5978 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.3683, allocations: 19.67 kB / 0.5979 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3683, allocations: 8 kB / 0.5979 GB, free: 7.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.226e-05/0.3684, allocations: 110.7 kB / 0.598 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.3686, allocations: 32 kB / 0.598 GB, free: 7.086 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.3688, allocations: 99.5 kB / 0.5981 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.369, allocations: 124.4 kB / 0.5982 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.369, allocations: 4 kB / 0.5982 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3691, allocations: 72.38 kB / 0.5983 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3694, allocations: 15.8 kB / 0.5983 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.3699, allocations: 211.5 kB / 0.5985 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.3703, allocations: 0.7536 MB / 0.5992 GB, free: 5.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3703, allocations: 0 / 0.5992 GB, free: 5.848 MB / 394.7 MB Notification: Performance of Templates: time 0.004644/0.375, allocations: 2.188 MB / 0.6014 GB, free: 3.688 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches