Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003513/0.003513, allocations: 173.3 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.6 MB / 178.4 MB, free: 15.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001791/0.001791, allocations: 111.8 kB / 217.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1904/0.1904, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.998e-06/1.001e-05, allocations: 1.406 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 48.71 MB / 398.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4235, allocations: 76.06 MB / 474.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4237, allocations: 71.69 kB / 474.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01166/0.4354, allocations: 4.051 MB / 478.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.4355, allocations: 3.875 kB / 478.4 MB, free: 13.16 MB / 330.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.0008139/0.4363, allocations: 0.5304 MB / 478.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.4364, allocations: 11.62 kB / 478.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.4365, allocations: 23.06 kB / 479 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4368, allocations: 237.4 kB / 479.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.4368, allocations: 7.625 kB / 479.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.4369, allocations: 11.69 kB / 479.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003928/0.4373, allocations: 206.3 kB / 479.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.4376, allocations: 224.8 kB / 479.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4377, allocations: 7.844 kB / 479.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4377, allocations: 0 / 479.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4377, allocations: 7.781 kB / 479.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.439, allocations: 0.6864 MB / 480.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4392, allocations: 143.4 kB / 480.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4394, allocations: 130 kB / 480.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4394, allocations: 3.969 kB / 480.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4394, allocations: 38.38 kB / 480.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.4394, allocations: 0 / 480.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002143/0.4416, allocations: 1.142 MB / 481.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.4416, allocations: 59.31 kB / 481.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4418, allocations: 152.5 kB / 482 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4418, allocations: 39.78 kB / 482 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.4419, allocations: 132.8 kB / 482.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.442, allocations: 108.6 kB / 482.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.442, allocations: 0 / 482.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.442, allocations: 332.6 kB / 482.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4422, allocations: 106.7 kB / 482.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4424, allocations: 144.5 kB / 482.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4426, allocations: 108.2 kB / 482.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4426, allocations: 0 / 482.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008112/0.4435, allocations: 458.7 kB / 483.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4435, allocations: 5.688 kB / 483.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4435, allocations: 0 / 483.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.444, allocations: 234.5 kB / 483.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.4443, allocations: 52.69 kB / 483.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007335/0.445, allocations: 0.7782 MB / 484.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.4453, allocations: 52.17 kB / 484.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.4454, allocations: 14.47 kB / 484.5 MB, free: 10.19 MB / 330.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 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.4455, allocations: 110.9 kB / 484.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.4456, allocations: 19.38 kB / 484.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/0.4457, allocations: 37.42 kB / 484.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4457, allocations: 3.906 kB / 484.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4457, allocations: 0 / 484.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4457, allocations: 2.906 kB / 484.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4472, allocations: 0.9147 MB / 485.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4472, allocations: 6.781 kB / 485.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.4474, allocations: 54.2 kB / 485.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.4478, allocations: 208.9 kB / 485.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4478, allocations: 12.91 kB / 485.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005605/0.4484, allocations: 0.719 MB / 486.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4484, allocations: 0 / 486.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009018/0.4493, allocations: 0.6508 MB / 487.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4494, allocations: 129.1 kB / 487.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.4495, allocations: 3.906 kB / 487.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.4498, allocations: 46.72 kB / 487.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.4499, allocations: 56.77 kB / 487.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4499, allocations: 14.56 kB / 487.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.28e-05/0.45, allocations: 123.2 kB / 487.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.4504, allocations: 76.34 kB / 487.7 MB, free: 8.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * 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: 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.0001916/0.4506, allocations: 116.6 kB / 487.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.4511, allocations: 279.2 kB / 488.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4511, allocations: 0 / 488.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4514, allocations: 145.9 kB / 488.2 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4517, allocations: 26.56 kB / 488.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.4527, allocations: 437 kB / 488.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.4531, allocations: 0.7803 MB / 489.4 MB, free: 23.66 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4531, allocations: 0 / 489.4 MB, free: 23.66 MB / 346.7 MB Notification: Performance of Templates: time 0.008575/0.4617, allocations: 4.202 MB / 493.6 MB, free: 23.38 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)