Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") [: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.005079/0.005079, 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.385/1.385, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001659/0.001659, allocations: 114.7 kB / 247.1 MB, free: 6.406 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.1741/0.1741, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.516e-06, allocations: 8 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.0983, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2926/0.391, allocations: 81.06 MB / 0.5163 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3912, allocations: 68.14 kB / 0.5164 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01533/0.4066, allocations: 5.432 MB / 0.5217 GB, free: 9.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4066, allocations: 6.688 kB / 0.5217 GB, free: 9.012 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000869/0.4075, allocations: 0.5583 MB / 0.5222 GB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4076, allocations: 9.5 kB / 0.5222 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.4077, allocations: 50.89 kB / 0.5223 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.4081, allocations: 248.3 kB / 0.5225 GB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.4081, allocations: 16.34 kB / 0.5225 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.4082, allocations: 27.52 kB / 0.5226 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003715/0.4086, allocations: 165.6 kB / 0.5227 GB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.4091, allocations: 316.7 kB / 0.523 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.4091, allocations: 6.938 kB / 0.523 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4091, allocations: 5.406 kB / 0.523 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4092, allocations: 13.25 kB / 0.5231 GB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.4111, allocations: 1.648 MB / 0.5247 GB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.4114, allocations: 191.8 kB / 0.5248 GB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4115, allocations: 86.41 kB / 0.5249 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4116, allocations: 11.89 kB / 0.5249 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4116, allocations: 45.19 kB / 0.525 GB, free: 6.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.4116, allocations: 0 / 0.525 GB, free: 6.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004741/0.4121, allocations: 163.7 kB / 0.5251 GB, free: 6.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.4121, allocations: 217.4 kB / 0.5253 GB, free: 6.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4123, allocations: 204.8 kB / 0.5255 GB, free: 6.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4124, allocations: 27.17 kB / 0.5256 GB, free: 6.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.4125, allocations: 228.8 kB / 0.5258 GB, free: 5.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.4126, allocations: 118.4 kB / 0.5259 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.4126, allocations: 0 / 0.5259 GB, free: 5.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.4127, allocations: 340.4 kB / 0.5262 GB, free: 5.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4128, allocations: 78.38 kB / 0.5263 GB, free: 5.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4131, allocations: 398.8 kB / 0.5267 GB, free: 5.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4133, allocations: 143.9 kB / 0.5268 GB, free: 4.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4133, allocations: 4.531 kB / 0.5268 GB, free: 4.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006798/0.414, allocations: 422.5 kB / 0.5272 GB, free: 4.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.414, allocations: 8.406 kB / 0.5272 GB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.414, allocations: 11.94 kB / 0.5272 GB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.4141, allocations: 16.59 kB / 0.5273 GB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.4146, allocations: 155.2 kB / 0.5274 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/0.4146, allocations: 19.66 kB / 0.5274 GB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.415, allocations: 58.73 kB / 0.5275 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.415, allocations: 35.62 kB / 0.5275 GB, free: 4.738 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.08e-05/0.4151, allocations: 129.9 kB / 0.5276 GB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.4153, allocations: 31.28 kB / 0.5277 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.4154, allocations: 29.39 kB / 0.5277 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4154, allocations: 3.938 kB / 0.5277 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4154, allocations: 6.719 kB / 0.5277 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4154, allocations: 5.328 kB / 0.5277 GB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.4165, allocations: 0.5781 MB / 0.5283 GB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4165, allocations: 2.625 kB / 0.5283 GB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.417, allocations: 97.69 kB / 0.5284 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.4171, allocations: 7.531 kB / 0.5284 GB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4171, allocations: 8.5 kB / 0.5284 GB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.4171, allocations: 7.203 kB / 0.5284 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4171, allocations: 3.312 kB / 0.5284 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005144/0.4176, allocations: 0.8745 MB / 0.5292 GB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.4177, allocations: 105.8 kB / 0.5294 GB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.4178, allocations: 8.578 kB / 0.5294 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.4182, allocations: 7 kB / 0.5294 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.4182, allocations: 27.44 kB / 0.5294 GB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4183, allocations: 8.125 kB / 0.5294 GB, free: 3.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001358/0.4184, allocations: 155.1 kB / 0.5295 GB, free: 3.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007737/0.4192, allocations: 84.81 kB / 0.5296 GB, free: 3.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001427/0.4193, allocations: 113.7 kB / 0.5297 GB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4198, allocations: 232.9 kB / 0.53 GB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4198, allocations: 0 / 0.53 GB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4199, allocations: 79.42 kB / 0.53 GB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.4205, allocations: 54.8 kB / 0.5301 GB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.4228, allocations: 1.439 MB / 0.5315 GB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.4233, allocations: 0.831 MB / 0.5323 GB, free: 1.02 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4233, allocations: 0 / 0.5323 GB, free: 1.02 MB / 346.7 MB Notification: Performance of Templates: time 0.007143/0.4304, allocations: 2.884 MB / 0.5351 GB, free: 15.12 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)