Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [: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.003873/0.003873, allocations: 187.2 kB / 7.46 MB, free: 2.242 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.323/1.323, 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.001691/0.00169, allocations: 121.3 kB / 247.1 MB, free: 6.367 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.1809/0.1809, allocations: 39.93 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.653e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.404, allocations: 82.44 MB / 0.5177 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4044, allocations: 68.55 kB / 0.5177 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01212/0.4165, allocations: 4.027 MB / 0.5217 GB, free: 8.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.4165, allocations: 4.5 kB / 0.5217 GB, free: 8.953 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007897/0.4173, allocations: 0.5128 MB / 0.5222 GB, free: 8.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4174, allocations: 9.25 kB / 0.5222 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.4175, allocations: 27.59 kB / 0.5222 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.4177, allocations: 238.4 kB / 0.5224 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4178, allocations: 7.219 kB / 0.5224 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.4178, allocations: 17.75 kB / 0.5225 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004101/0.4182, allocations: 187.6 kB / 0.5226 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.4186, allocations: 211.9 kB / 0.5228 GB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4187, allocations: 1.531 kB / 0.5228 GB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.4187, allocations: 0 / 0.5228 GB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4187, allocations: 9.578 kB / 0.5228 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.42, allocations: 0.6602 MB / 0.5235 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.4202, allocations: 149.4 kB / 0.5236 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.4204, allocations: 127.2 kB / 0.5238 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.4205, allocations: 4.234 kB / 0.5238 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.4205, allocations: 35.11 kB / 0.5238 GB, free: 7.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.4205, allocations: 4 kB / 0.5238 GB, free: 7.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.002122/0.4226, allocations: 1.102 MB / 0.5249 GB, free: 7.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.4226, allocations: 55.75 kB / 0.5249 GB, free: 6.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4228, allocations: 139.1 kB / 0.5251 GB, free: 6.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.4228, allocations: 30.95 kB / 0.5251 GB, free: 6.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.4228, allocations: 122.3 kB / 0.5252 GB, free: 6.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.4229, allocations: 117.5 kB / 0.5253 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.4229, allocations: 0 / 0.5253 GB, free: 6.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.423, allocations: 329.7 kB / 0.5256 GB, free: 6.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4232, allocations: 102.6 kB / 0.5257 GB, free: 6.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4233, allocations: 135.3 kB / 0.5259 GB, free: 6.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.4236, allocations: 101.8 kB / 0.526 GB, free: 6.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4236, allocations: 0 / 0.526 GB, free: 6.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006563/0.4242, allocations: 364.7 kB / 0.5263 GB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4243, allocations: 9.188 kB / 0.5263 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4243, allocations: 9.297 kB / 0.5263 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.4247, allocations: 176 kB / 0.5265 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4249, allocations: 52.56 kB / 0.5265 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00064/0.4256, allocations: 0.7358 MB / 0.5273 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.4258, allocations: 52.64 kB / 0.5273 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.4259, allocations: 21.3 kB / 0.5273 GB, free: 5.543 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.426, allocations: 123.8 kB / 0.5274 GB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.4261, allocations: 22.22 kB / 0.5275 GB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.4269, allocations: 405.5 kB / 0.5279 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.4269, allocations: 2.656 kB / 0.5279 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.427, allocations: 1.344 kB / 0.5279 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.427, allocations: 3.984 kB / 0.5279 GB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.4283, allocations: 0.8484 MB / 0.5287 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4283, allocations: 1.188 kB / 0.5287 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4285, allocations: 47.75 kB / 0.5287 GB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.4289, allocations: 172.5 kB / 0.5289 GB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.4289, allocations: 6.547 kB / 0.5289 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005163/0.4294, allocations: 0.6947 MB / 0.5296 GB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4294, allocations: 1.469 kB / 0.5296 GB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009284/0.4304, allocations: 0.5995 MB / 0.5302 GB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4305, allocations: 120.2 kB / 0.5303 GB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.4305, allocations: 10.12 kB / 0.5303 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.4308, allocations: 49.11 kB / 0.5303 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.431, allocations: 56.48 kB / 0.5304 GB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.431, allocations: 16.95 kB / 0.5304 GB, free: 3.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.535e-05/0.4311, allocations: 117.9 kB / 0.5305 GB, free: 3.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.4314, allocations: 74.77 kB / 0.5306 GB, free: 3.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.4316, allocations: 125.9 kB / 0.5307 GB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.4322, allocations: 300.7 kB / 0.531 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4323, allocations: 0 / 0.531 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.4325, allocations: 141 kB / 0.5311 GB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4329, allocations: 21.05 kB / 0.5312 GB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4341, allocations: 455.9 kB / 0.5316 GB, free: 3.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.4344, allocations: 0.7836 MB / 0.5324 GB, free: 2.469 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4345, allocations: 0 / 0.5324 GB, free: 2.469 MB / 346.7 MB Notification: Performance of Templates: time 0.007461/0.4419, allocations: 4.403 MB / 0.5367 GB, free: 14.18 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)