Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [: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 3.2.2+maint.om/package.mo): time 0.003294/0.003294, allocations: 180.3 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.184/1.184, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001668/0.001668, allocations: 126.8 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1756/0.1756, allocations: 39.95 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.52e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.431, allocations: 81.47 MB / 0.5167 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4313, allocations: 67.5 kB / 0.5168 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02343/0.4547, allocations: 8.041 MB / 0.5246 GB, free: 8.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.702e-05/0.4548, allocations: 14.09 kB / 0.5246 GB, free: 8.223 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001257/0.4561, allocations: 0.6375 MB / 0.5253 GB, free: 7.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4562, allocations: 9.969 kB / 0.5253 GB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.4564, allocations: 54.59 kB / 0.5253 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.457, allocations: 298.4 kB / 0.5256 GB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.457, allocations: 15.84 kB / 0.5256 GB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4571, allocations: 36.81 kB / 0.5257 GB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006902/0.4578, allocations: 274.1 kB / 0.5259 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.4585, allocations: 355.5 kB / 0.5263 GB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.4586, allocations: 16.05 kB / 0.5263 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.4586, allocations: 0 / 0.5263 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.4586, allocations: 11.47 kB / 0.5263 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.4613, allocations: 1.067 MB / 0.5273 GB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.462, allocations: 289.7 kB / 0.5276 GB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.4623, allocations: 195.2 kB / 0.5278 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.4624, allocations: 5.969 kB / 0.5278 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4624, allocations: 41.91 kB / 0.5278 GB, free: 6.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 2.525e-06/0.4624, allocations: 4 kB / 0.5278 GB, free: 6.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002859/0.4653, allocations: 1.804 MB / 0.5296 GB, free: 5.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4653, allocations: 84.52 kB / 0.5297 GB, free: 5.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4656, allocations: 194.2 kB / 0.5299 GB, free: 5.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.4656, allocations: 25.7 kB / 0.5299 GB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.4657, allocations: 183.2 kB / 0.5301 GB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.4659, allocations: 262.1 kB / 0.5303 GB, free: 4.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.4659, allocations: 0 / 0.5303 GB, free: 4.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.466, allocations: 363.2 kB / 0.5307 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.4662, allocations: 134.4 kB / 0.5308 GB, free: 4.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.4665, allocations: 233.8 kB / 0.531 GB, free: 4.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.4669, allocations: 181.6 kB / 0.5312 GB, free: 4.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4669, allocations: 0 / 0.5312 GB, free: 4.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007884/0.4677, allocations: 497.7 kB / 0.5317 GB, free: 4.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4677, allocations: 7.984 kB / 0.5317 GB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4677, allocations: 4 kB / 0.5317 GB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.4677, allocations: 8 kB / 0.5317 GB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.4683, allocations: 186.5 kB / 0.5319 GB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.4684, allocations: 8 kB / 0.5319 GB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.4687, allocations: 7.984 kB / 0.5319 GB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4687, allocations: 27.72 kB / 0.5319 GB, free: 3.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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 9.356e-05/0.4688, allocations: 119.9 kB / 0.532 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.4689, allocations: 43.44 kB / 0.5321 GB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.469, allocations: 46.92 kB / 0.5321 GB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.469, allocations: 8 kB / 0.5321 GB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.469, allocations: 0 / 0.5321 GB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4691, allocations: 3.984 kB / 0.5321 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4707, allocations: 1.311 MB / 0.5334 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4707, allocations: 4.062 kB / 0.5334 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.4714, allocations: 159 kB / 0.5335 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.4714, allocations: 8 kB / 0.5336 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.4714, allocations: 11.23 kB / 0.5336 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4714, allocations: 8 kB / 0.5336 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4715, allocations: 8 kB / 0.5336 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008444/0.4723, allocations: 0.9801 MB / 0.5345 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.4724, allocations: 116.6 kB / 0.5347 GB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.4725, allocations: 4 kB / 0.5347 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.4728, allocations: 8 kB / 0.5347 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.4728, allocations: 47.41 kB / 0.5347 GB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4729, allocations: 19.75 kB / 0.5347 GB, free: 1.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.808e-05/0.473, allocations: 150.6 kB / 0.5349 GB, free: 1.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.4735, allocations: 120 kB / 0.535 GB, free: 0.9805 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001506/0.4736, allocations: 122.9 kB / 0.5351 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.4742, allocations: 403.4 kB / 0.5355 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4742, allocations: 4.062 kB / 0.5355 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.4744, allocations: 218.7 kB / 0.5357 GB, free: 416 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.4751, allocations: 83.19 kB / 0.5358 GB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4777, allocations: 1.475 MB / 0.5372 GB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.4783, allocations: 0.8976 MB / 0.5381 GB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4783, allocations: 0 / 0.5381 GB, free: 13.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01116/0.4895, allocations: 5.079 MB / 0.5431 GB, free: 8.961 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)