Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009508/0.0009508, allocations: 168.7 kB / 15.95 MB, free: 204 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.711/1.711, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4333/0.4333, allocations: 40.01 MB / 310.4 MB, free: 10.02 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.000693/0.0006932, allocations: 23.98 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1643, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4026/0.567, allocations: 84.85 MB / 0.5094 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05658/0.6236, allocations: 17.18 MB / 0.5262 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03013/0.6538, allocations: 395.4 kB / 0.5266 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02134/0.6752, allocations: 4.466 MB / 0.531 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05385/0.7291, allocations: 12.94 MB / 0.5436 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008398/0.7376, allocations: 0.9122 MB / 0.5445 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05252/0.7901, allocations: 35.98 MB / 0.5796 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.8037, allocations: 7.091 MB / 0.5865 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/0.811, allocations: 1.938 MB / 0.5884 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00668/0.8178, allocations: 3.15 MB / 0.5915 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.8194, allocations: 236 kB / 0.5917 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.823, allocations: 1.116 MB / 0.5928 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004034/0.827, allocations: 2.754 MB / 0.5955 GB, free: 5.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.8301, allocations: 1.322 MB / 0.5968 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.8438, allocations: 8.888 MB / 0.6055 GB, free: 11.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.8439, allocations: 0 / 0.6055 GB, free: 11.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.8439, allocations: 0 / 0.6055 GB, free: 11.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005613/0.8445, allocations: 0 / 0.6055 GB, free: 11.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01851/0.863, allocations: 6.352 MB / 0.6117 GB, free: 4.684 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.8631, allocations: 12.02 kB / 0.6117 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.8773, allocations: 2.892 MB / 0.6145 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.8897, allocations: 4.229 MB / 0.6187 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005067/0.8903, allocations: 377.8 kB / 0.619 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.893, allocations: 0.5072 MB / 0.6195 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3648/1.258, allocations: 16.39 MB / 0.6355 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/1.258, allocations: 66.05 kB / 0.6356 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009762/1.259, allocations: 240.4 kB / 0.6358 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005231/1.264, allocations: 3.158 MB / 0.6389 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03363/1.298, allocations: 14.08 MB / 0.6526 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09258/1.391, allocations: 60.65 MB / 0.7119 GB, free: 96.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/1.41, allocations: 8.033 MB / 0.7197 GB, free: 92.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005967/1.416, allocations: 4.201 MB / 0.7238 GB, free: 87.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/1.417, allocations: 64.03 kB / 0.7239 GB, free: 87.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/1.417, allocations: 64.56 kB / 0.7239 GB, free: 87.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 7.765e-06/1.417, allocations: 0 / 0.7239 GB, free: 87.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.09557/1.512, allocations: 35.38 MB / 0.7585 GB, free: 52.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.512, allocations: 218 kB / 0.7587 GB, free: 52.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/1.525, allocations: 6.327 MB / 0.7649 GB, free: 45.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001419/1.527, allocations: 73.7 kB / 0.765 GB, free: 45.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003676/1.53, allocations: 4.54 MB / 0.7694 GB, free: 41.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002817/1.533, allocations: 1.232 MB / 0.7706 GB, free: 39.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/1.535, allocations: 187 kB / 0.7708 GB, free: 39.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001056/1.536, allocations: 0.6781 MB / 0.7714 GB, free: 38.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007153/1.544, allocations: 4.074 MB / 0.7754 GB, free: 34.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.554, allocations: 8.921 MB / 0.7841 GB, free: 23.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.565, allocations: 5.889 MB / 0.7899 GB, free: 17.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002167/1.565, allocations: 48 kB / 0.7899 GB, free: 17.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03399/1.599, allocations: 14.89 MB / 0.8045 GB, free: 2.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/1.599, allocations: 80 kB / 0.8045 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000347/1.6, allocations: 172.1 kB / 0.8047 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/1.606, allocations: 2.288 MB / 0.8069 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008987/1.615, allocations: 2.105 MB / 0.809 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/1.637, allocations: 13.51 MB / 0.8222 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3636/2, allocations: 0.537 MB / 0.8227 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/2.003, allocations: 0.5066 MB / 0.8232 GB, free: 142.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1084): * Single equations (assignments): 1079 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008525/2.012, allocations: 3.162 MB / 0.8263 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/2.013, allocations: 0.548 MB / 0.8268 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/2.03, allocations: 8.442 MB / 0.8351 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-05/2.03, allocations: 35.41 kB / 0.8351 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/2.03, allocations: 14.66 kB / 0.8351 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.806e-05/2.03, allocations: 17.06 kB / 0.8351 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/2.064, allocations: 17.4 MB / 0.8521 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/2.064, allocations: 6.656 kB / 0.8521 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/2.068, allocations: 0.6022 MB / 0.8527 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/2.074, allocations: 2.028 MB / 0.8547 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007757/2.074, allocations: 65.39 kB / 0.8548 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/2.094, allocations: 12.72 MB / 0.8672 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/2.094, allocations: 7.312 kB / 0.8672 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02874/2.122, allocations: 13.48 MB / 0.8803 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004767/2.127, allocations: 1.26 MB / 0.8816 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002741/2.13, allocations: 62.17 kB / 0.8816 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005477/2.136, allocations: 285.8 kB / 0.8819 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/2.137, allocations: 199 kB / 0.8821 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007172/2.138, allocations: 90.94 kB / 0.8822 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009865/2.147, allocations: 4.016 MB / 0.8861 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.31e-07/2.147, allocations: 6.797 kB / 0.8861 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01163/2.159, allocations: 1.743 MB / 0.8878 GB, free: 120.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.001455/2.161, allocations: 206.2 kB / 0.888 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0174/2.178, allocations: 9.835 MB / 0.8976 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/2.178, allocations: 2.062 kB / 0.8976 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007534/2.186, allocations: 4.129 MB / 0.9017 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008936/2.195, allocations: 0.6951 MB / 0.9023 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/2.232, allocations: 18.88 MB / 0.9208 GB, free: 88.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009645/2.241, allocations: 4.861 MB / 0.9255 GB, free: 83.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009946/2.251, allocations: 2.918 MB / 0.9284 GB, free: 80.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003247/2.255, allocations: 399.3 kB / 0.9287 GB, free: 79.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.406e-06/2.255, allocations: 0 / 0.9287 GB, free: 79.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.1115/2.366, allocations: 66.29 MB / 0.9935 GB, free: 13.76 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: