Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.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.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") [: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.003237/0.003237, allocations: 174.1 kB / 7.447 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.08/1.08, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001702/0.001701, allocations: 123.8 kB / 217.7 MB, free: 8.148 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.1346/0.1346, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.244e-06, allocations: 1.031 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07691, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/0.3644, allocations: 97.77 MB / 496 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3646, allocations: 75.3 kB / 496.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.8057/1.17, allocations: 231.9 MB / 0.7108 GB, free: 57.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001336/1.172, allocations: 260.4 kB / 0.7111 GB, free: 57.35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.04503/1.217, allocations: 12.28 MB / 0.7231 GB, free: 49.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.217, allocations: 8.031 kB / 0.7231 GB, free: 49.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05204/1.269, allocations: 12.38 MB / 0.7352 GB, free: 36.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/1.307, allocations: 13.4 MB / 0.7483 GB, free: 23.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008416/1.307, allocations: 420 kB / 0.7487 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006946/1.314, allocations: 0.7381 MB / 0.7494 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03606/1.351, allocations: 18.08 MB / 0.767 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2792/1.63, allocations: 26.54 MB / 0.793 GB, free: 82.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009236/1.631, allocations: 145.2 kB / 0.7931 GB, free: 82.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006999/1.638, allocations: 67.38 kB / 0.7932 GB, free: 82.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005102/1.643, allocations: 3.042 MB / 0.7961 GB, free: 82.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1896/1.832, allocations: 123.9 MB / 0.9172 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.848, allocations: 11.48 MB / 0.9284 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01279/1.861, allocations: 8.193 MB / 0.9364 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04857/1.91, allocations: 22.24 MB / 0.9581 GB, free: 41.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/1.91, allocations: 92.66 kB / 0.9582 GB, free: 40.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=510): time 2.863e-05/1.91, allocations: 0 / 0.9582 GB, free: 40.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=596): time 0.158/2.068, allocations: 56.81 MB / 1.014 GB, free: 1.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/2.068, allocations: 381.2 kB / 1.014 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3106/2.379, allocations: 8.308 MB / 1.022 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002209/2.381, allocations: 29.17 kB / 1.022 GB, free: 141.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008833/2.39, allocations: 7.865 MB / 1.03 GB, free: 139 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004775/2.395, allocations: 2.151 MB / 1.032 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003121/2.398, allocations: 0 / 1.032 GB, free: 137.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.002324/2.401, allocations: 0.9787 MB / 1.033 GB, free: 137.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/2.413, allocations: 6.604 MB / 1.039 GB, free: 137.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01978/2.433, allocations: 15.25 MB / 1.054 GB, free: 126.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/2.452, allocations: 9.976 MB / 1.064 GB, free: 126.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007948/2.453, allocations: 87.72 kB / 1.064 GB, free: 126.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=2067) (initialization): time 0.05422/2.507, allocations: 22.75 MB / 1.086 GB, free: 122.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/2.507, allocations: 3.031 kB / 1.086 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000657/2.508, allocations: 311.5 kB / 1.087 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008682/2.516, allocations: 3.152 MB / 1.09 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/2.533, allocations: 3.745 MB / 1.093 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02656/2.56, allocations: 20.5 MB / 1.113 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/2.579, allocations: 0.5239 MB / 1.114 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006206/2.585, allocations: 0.9114 MB / 1.115 GB, free: 110.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1947): * Single equations (assignments): 1940 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008561/2.593, allocations: 0.8988 MB / 1.116 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002883/2.596, allocations: 0.9005 MB / 1.117 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02405/2.62, allocations: 13.46 MB / 1.13 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/2.621, allocations: 63.91 kB / 1.13 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-05/2.621, allocations: 16 kB / 1.13 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.621, allocations: 34.14 kB / 1.13 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05909/2.68, allocations: 27.35 MB / 1.156 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/2.68, allocations: 0 / 1.156 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007144/2.687, allocations: 1.039 MB / 1.157 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007419/2.695, allocations: 2.629 MB / 1.16 GB, free: 77.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002128/2.697, allocations: 19.05 kB / 1.16 GB, free: 77.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/2.721, allocations: 19.25 MB / 1.179 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/2.721, allocations: 8 kB / 1.179 GB, free: 60.33 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.316/3.037, allocations: 23.3 MB / 1.202 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008099/3.045, allocations: 1.887 MB / 1.203 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003799/3.049, allocations: 3.656 kB / 1.203 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007006/3.056, allocations: 220.5 kB / 1.204 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/3.057, allocations: 274.6 kB / 1.204 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000541/3.058, allocations: 151.9 kB / 1.204 GB, free: 121.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01479/3.072, allocations: 5.638 MB / 1.21 GB, free: 121.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02359/3.096, allocations: 2.633 MB / 1.212 GB, free: 121.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 500 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002273/3.098, allocations: 180.6 kB / 1.212 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0328/3.131, allocations: 16.23 MB / 1.228 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/3.131, allocations: 0 / 1.228 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01704/3.148, allocations: 6.577 MB / 1.235 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/3.159, allocations: 0.9386 MB / 1.236 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08532/3.244, allocations: 25.06 MB / 1.26 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03492/3.279, allocations: 9.583 MB / 1.269 GB, free: 114.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.134e-06/3.279, allocations: 0 / 1.269 GB, free: 114.3 MB / 490.7 MB Notification: Performance of Templates: time 0.5669/3.846, allocations: 120.3 MB / 1.387 GB, free: 100 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1)