Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.365/0.365, allocations: 40 MB / 310.4 MB, free: 9.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005176, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1197, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2976/0.4173, allocations: 77.54 MB / 0.5022 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04132/0.4587, allocations: 17.3 MB / 0.5191 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01987/0.4786, allocations: 384.1 kB / 0.5195 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.493, allocations: 3.894 MB / 0.5233 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04179/0.5349, allocations: 11.03 MB / 0.5341 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.5412, allocations: 0.8557 MB / 0.5349 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04049/0.5817, allocations: 27.41 MB / 0.5617 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009948/0.5917, allocations: 7.391 MB / 0.5689 GB, free: 316 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.5951, allocations: 1.639 MB / 0.5705 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.5986, allocations: 2.208 MB / 0.5727 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000867/0.5995, allocations: 232 kB / 0.5729 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.6022, allocations: 0.9871 MB / 0.5738 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.6049, allocations: 2.622 MB / 0.5764 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.6068, allocations: 1.349 MB / 0.5777 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.6173, allocations: 8.892 MB / 0.5864 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6174, allocations: 0 / 0.5864 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6174, allocations: 0 / 0.5864 GB, free: 14.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005179/0.6179, allocations: 0 / 0.5864 GB, free: 14.33 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01679/0.6348, allocations: 6.992 MB / 0.5932 GB, free: 7.258 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6348, allocations: 12.03 kB / 0.5932 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04364/0.6785, allocations: 8.276 MB / 0.6013 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.6902, allocations: 4.796 MB / 0.606 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.6906, allocations: 381.9 kB / 0.6064 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.6923, allocations: 0.5074 MB / 0.6069 GB, free: 9.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/0.7247, allocations: 15.68 MB / 0.6222 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003022/0.725, allocations: 71.36 kB / 0.6223 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/0.7266, allocations: 247.7 kB / 0.6225 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005646/0.7323, allocations: 3.056 MB / 0.6255 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2647/0.997, allocations: 13.16 MB / 0.6383 GB, free: 138.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0788/1.076, allocations: 61.3 MB / 0.6982 GB, free: 97.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/1.094, allocations: 6.755 MB / 0.7048 GB, free: 95.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/1.113, allocations: 9.339 MB / 0.7139 GB, free: 90.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.113, allocations: 60.38 kB / 0.714 GB, free: 90.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 5.3e-06/1.113, allocations: 5.938 kB / 0.714 GB, free: 90.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07527/1.188, allocations: 32.11 MB / 0.7453 GB, free: 61.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.189, allocations: 240.9 kB / 0.7456 GB, free: 61.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009721/1.198, allocations: 7.223 MB / 0.7526 GB, free: 53.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009932/1.199, allocations: 69.7 kB / 0.7527 GB, free: 53.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.203, allocations: 4.817 MB / 0.7574 GB, free: 48.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.204, allocations: 1.175 MB / 0.7585 GB, free: 47.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.206, allocations: 180 kB / 0.7587 GB, free: 47.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006804/1.206, allocations: 0.6904 MB / 0.7594 GB, free: 46.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006443/1.213, allocations: 3.664 MB / 0.7629 GB, free: 43.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008824/1.222, allocations: 8.948 MB / 0.7717 GB, free: 31.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00842/1.23, allocations: 5.604 MB / 0.7772 GB, free: 26.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/1.23, allocations: 52 kB / 0.7772 GB, free: 26.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.0268/1.257, allocations: 13.93 MB / 0.7908 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002188/1.257, allocations: 84.47 kB / 0.7909 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/1.258, allocations: 192 kB / 0.7911 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/1.262, allocations: 1.809 MB / 0.7928 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007356/1.269, allocations: 2.121 MB / 0.7949 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.285, allocations: 12.33 MB / 0.8069 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008584/1.293, allocations: 0.5304 MB / 0.8075 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002235/1.295, allocations: 0.539 MB / 0.808 GB, free: 10.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1095 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008676/1.304, allocations: 3.221 MB / 0.8111 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/1.306, allocations: 0.5977 MB / 0.8117 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.272/1.578, allocations: 6.957 MB / 0.8185 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/1.578, allocations: 33.84 kB / 0.8185 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/1.578, allocations: 15.27 kB / 0.8186 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.71e-05/1.579, allocations: 13.59 kB / 0.8186 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0338/1.612, allocations: 15.52 MB / 0.8337 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/1.612, allocations: 2.781 kB / 0.8337 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/1.615, allocations: 0.5262 MB / 0.8343 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/1.619, allocations: 1.528 MB / 0.8357 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009195/1.62, allocations: 54.53 kB / 0.8358 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.634, allocations: 11.48 MB / 0.847 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.634, allocations: 13.59 kB / 0.847 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/1.656, allocations: 12.15 MB / 0.8589 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004367/1.661, allocations: 1.182 MB / 0.86 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002217/1.663, allocations: 52.31 kB / 0.8601 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/1.667, allocations: 217.7 kB / 0.8603 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.668, allocations: 185.9 kB / 0.8605 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003017/1.668, allocations: 84.69 kB / 0.8606 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01207/1.681, allocations: 4.655 MB / 0.8651 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.423e-06/1.681, allocations: 0 / 0.8651 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01172/1.692, allocations: 1.692 MB / 0.8667 GB, free: 125.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001327/1.694, allocations: 214.3 kB / 0.867 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01731/1.711, allocations: 8.98 MB / 0.8757 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.711, allocations: 7.312 kB / 0.8757 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/1.718, allocations: 3.485 MB / 0.8791 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/1.724, allocations: 0.7073 MB / 0.8798 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/1.759, allocations: 18.37 MB / 0.8978 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/1.768, allocations: 5.042 MB / 0.9027 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009239/1.778, allocations: 2.981 MB / 0.9056 GB, free: 98.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002496/1.78, allocations: 415.3 kB / 0.906 GB, free: 97.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/1.78, allocations: 0 / 0.906 GB, free: 97.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.1083/1.888, allocations: 65.1 MB / 0.9696 GB, free: 32.86 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) Environment - environmentSimulation: