Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001364/0.001364, allocations: 200.4 kB / 16.14 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 222 MB, free: 4.746 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.4005/0.4005, allocations: 39.92 MB / 309.3 MB, free: 9.324 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.001409/0.001409, allocations: 64.42 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1621, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4095/0.5716, allocations: 73.67 MB / 0.4956 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04691/0.6186, allocations: 14.57 MB / 0.5098 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0246/0.6433, allocations: 321.3 kB / 0.5101 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009192/0.6526, allocations: 3.763 MB / 0.5138 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009173/0.6618, allocations: 2.267 MB / 0.516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.6653, allocations: 0.934 MB / 0.5169 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01714/0.6825, allocations: 8.714 MB / 0.5254 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008766/0.6913, allocations: 4.67 MB / 0.53 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.6968, allocations: 1.883 MB / 0.5318 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006194/0.703, allocations: 3.085 MB / 0.5348 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.7051, allocations: 316 kB / 0.5351 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.71, allocations: 1.424 MB / 0.5365 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004678/0.7147, allocations: 2.591 MB / 0.5391 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005946/0.7206, allocations: 2.904 MB / 0.5419 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.7351, allocations: 9.236 MB / 0.5509 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.7352, allocations: 0 / 0.5509 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.7352, allocations: 3.984 kB / 0.5509 GB, free: 1.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003863/0.7356, allocations: 0 / 0.5509 GB, free: 1.113 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01988/0.7555, allocations: 6.542 MB / 0.5573 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7555, allocations: 8.031 kB / 0.5573 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.7677, allocations: 2.664 MB / 0.5599 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.7794, allocations: 4 MB / 0.5638 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.7797, allocations: 304.4 kB / 0.5641 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/0.7821, allocations: 415.6 kB / 0.5645 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02794/0.8101, allocations: 13.01 MB / 0.5772 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.8103, allocations: 67.36 kB / 0.5773 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005721/0.8109, allocations: 195.8 kB / 0.5775 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.8149, allocations: 2.503 MB / 0.5799 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.8375, allocations: 10.83 MB / 0.5905 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4021/1.24, allocations: 50.16 MB / 0.6395 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.25, allocations: 4.541 MB / 0.6439 GB, free: 112.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/1.253, allocations: 2.457 MB / 0.6463 GB, free: 112 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/1.264, allocations: 6.736 MB / 0.6529 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.264, allocations: 52.78 kB / 0.6529 GB, free: 109.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 5.259e-06/1.264, allocations: 0 / 0.6529 GB, free: 109.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05112/1.315, allocations: 19.41 MB / 0.6719 GB, free: 101.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.315, allocations: 231.6 kB / 0.6721 GB, free: 101.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.327, allocations: 5.917 MB / 0.6779 GB, free: 99.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005951/1.328, allocations: 52.67 kB / 0.6779 GB, free: 98.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.331, allocations: 4.068 MB / 0.6819 GB, free: 95.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.332, allocations: 0.7713 MB / 0.6827 GB, free: 95.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002496/1.335, allocations: 1.532 MB / 0.6842 GB, free: 94.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.725e-05/1.335, allocations: 303.6 kB / 0.6845 GB, free: 94.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/1.339, allocations: 2.637 MB / 0.687 GB, free: 93.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/1.345, allocations: 7.164 MB / 0.694 GB, free: 86.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.355, allocations: 10.51 MB / 0.7043 GB, free: 78.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/1.355, allocations: 45.16 kB / 0.7043 GB, free: 78.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01765/1.373, allocations: 10.57 MB / 0.7147 GB, free: 73.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.373, allocations: 72 kB / 0.7147 GB, free: 73.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001951/1.373, allocations: 160 kB / 0.7149 GB, free: 73.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/1.376, allocations: 1.247 MB / 0.7161 GB, free: 72.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005608/1.382, allocations: 1.722 MB / 0.7178 GB, free: 71.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/1.39, allocations: 7.926 MB / 0.7255 GB, free: 63.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00878/1.399, allocations: 403.5 kB / 0.7259 GB, free: 62.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.401, allocations: 459.6 kB / 0.7263 GB, free: 62.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00736/1.408, allocations: 2.695 MB / 0.729 GB, free: 59.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.41, allocations: 493.6 kB / 0.7294 GB, free: 59.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/1.418, allocations: 4.033 MB / 0.7334 GB, free: 55.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/1.418, allocations: 23.94 kB / 0.7334 GB, free: 55.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.677e-05/1.418, allocations: 8 kB / 0.7334 GB, free: 55.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.418, allocations: 7.969 kB / 0.7334 GB, free: 55.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.441, allocations: 9.565 MB / 0.7428 GB, free: 45.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/1.442, allocations: 8.281 kB / 0.7428 GB, free: 45.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.443, allocations: 323.5 kB / 0.7431 GB, free: 45.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/1.446, allocations: 1.005 MB / 0.7441 GB, free: 44.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003452/1.446, allocations: 35.98 kB / 0.7441 GB, free: 44.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007423/1.454, allocations: 7.239 MB / 0.7512 GB, free: 36.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.454, allocations: 0 / 0.7512 GB, free: 36.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.464, allocations: 6.885 MB / 0.7579 GB, free: 29.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003832/1.468, allocations: 0.8306 MB / 0.7587 GB, free: 28.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002228/1.471, allocations: 32 kB / 0.7587 GB, free: 28.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.474, allocations: 127.7 kB / 0.7588 GB, free: 28.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/1.474, allocations: 113 kB / 0.759 GB, free: 28.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.474, allocations: 55.98 kB / 0.759 GB, free: 28.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007668/1.482, allocations: 3.778 MB / 0.7627 GB, free: 24.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.482, allocations: 0 / 0.7627 GB, free: 24.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009541/1.491, allocations: 1.295 MB / 0.764 GB, free: 23.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009205/1.492, allocations: 177.8 kB / 0.7641 GB, free: 23.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.503, allocations: 6.312 MB / 0.7703 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.504, allocations: 4 kB / 0.7703 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.507, allocations: 1.903 MB / 0.7722 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/1.514, allocations: 0.5977 MB / 0.7727 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.541, allocations: 14.7 MB / 0.7871 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006182/1.547, allocations: 4.131 MB / 0.7911 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006605/1.554, allocations: 2.316 MB / 0.7934 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.555, allocations: 319.4 kB / 0.7937 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/1.555, allocations: 0 / 0.7937 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.3419/1.897, allocations: 47.41 MB / 0.84 GB, free: 173.7 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)