Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001431/0.001431, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.539/1.539, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3755/0.3755, allocations: 39.93 MB / 309.4 MB, free: 9.629 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.001543/0.001543, allocations: 63.91 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1631, allocations: 56.89 MB / 434 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4326/0.5957, allocations: 97.54 MB / 0.5191 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07167/0.6675, allocations: 18.55 MB / 0.5372 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0386/0.7062, allocations: 413.6 kB / 0.5376 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0144/0.7207, allocations: 4.672 MB / 0.5422 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.7342, allocations: 2.574 MB / 0.5447 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.7391, allocations: 1.078 MB / 0.5457 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.7554, allocations: 7.246 MB / 0.5528 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01444/0.7699, allocations: 6.387 MB / 0.559 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008633/0.7786, allocations: 2.667 MB / 0.5616 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008579/0.7872, allocations: 3.937 MB / 0.5655 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003531/0.7908, allocations: 0.582 MB / 0.5661 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/0.7975, allocations: 1.623 MB / 0.5676 GB, free: 72 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006813/0.8044, allocations: 3.351 MB / 0.5709 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01045/0.8149, allocations: 3.818 MB / 0.5746 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.8355, allocations: 11.63 MB / 0.586 GB, free: 13.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.8357, allocations: 0 / 0.586 GB, free: 13.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.8357, allocations: 4 kB / 0.586 GB, free: 13.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009638/0.8367, allocations: 0 / 0.586 GB, free: 13.2 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.03575/0.8724, allocations: 8.065 MB / 0.5939 GB, free: 5.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.8725, allocations: 11.89 kB / 0.5939 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.8882, allocations: 2.869 MB / 0.5967 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.903, allocations: 4.557 MB / 0.6011 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006821/0.9038, allocations: 406.1 kB / 0.6015 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004119/0.9079, allocations: 0.5189 MB / 0.602 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04485/0.9528, allocations: 16.91 MB / 0.6186 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005115/0.9534, allocations: 71.36 kB / 0.6186 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/0.9563, allocations: 247.8 kB / 0.6189 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007241/0.9636, allocations: 3.252 MB / 0.622 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5879/1.552, allocations: 14.5 MB / 0.6362 GB, free: 140.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.662, allocations: 62.75 MB / 0.6975 GB, free: 99.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02161/1.684, allocations: 6.901 MB / 0.7042 GB, free: 96.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007263/1.691, allocations: 4.248 MB / 0.7084 GB, free: 94.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02415/1.716, allocations: 9.676 MB / 0.7178 GB, free: 88.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/1.716, allocations: 63.94 kB / 0.7179 GB, free: 88.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 8.516e-06/1.716, allocations: 0 / 0.7179 GB, free: 88.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.09725/1.813, allocations: 34.78 MB / 0.7518 GB, free: 54.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.813, allocations: 244.2 kB / 0.7521 GB, free: 54.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/1.827, allocations: 6.759 MB / 0.7587 GB, free: 47.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001173/1.828, allocations: 77.7 kB / 0.7588 GB, free: 47.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003171/1.831, allocations: 4.742 MB / 0.7634 GB, free: 42.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002359/1.833, allocations: 1.272 MB / 0.7646 GB, free: 41.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/1.837, allocations: 1.884 MB / 0.7665 GB, free: 39.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/1.837, allocations: 305.1 kB / 0.7668 GB, free: 39.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005102/1.842, allocations: 4.07 MB / 0.7707 GB, free: 35.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00756/1.85, allocations: 9.147 MB / 0.7797 GB, free: 23.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.865, allocations: 14.16 MB / 0.7935 GB, free: 6.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/1.865, allocations: 48 kB / 0.7935 GB, free: 6.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03507/1.9, allocations: 15.11 MB / 0.8083 GB, free: 7.703 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/1.901, allocations: 84.03 kB / 0.8084 GB, free: 7.621 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004499/1.901, allocations: 179.9 kB / 0.8085 GB, free: 7.445 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007167/1.908, allocations: 2.292 MB / 0.8108 GB, free: 5.145 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009396/1.918, allocations: 2.148 MB / 0.8129 GB, free: 2.992 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3499/2.268, allocations: 14.45 MB / 0.827 GB, free: 139.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009933/2.278, allocations: 0.542 MB / 0.8275 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/2.28, allocations: 0.5301 MB / 0.828 GB, free: 139.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1125): * Single equations (assignments): 1118 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008534/2.289, allocations: 3.281 MB / 0.8312 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/2.291, allocations: 0.583 MB / 0.8318 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/2.305, allocations: 8.456 MB / 0.8401 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/2.305, allocations: 37.97 kB / 0.8401 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-05/2.305, allocations: 9.062 kB / 0.8401 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-05/2.305, allocations: 19.2 kB / 0.8401 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04611/2.351, allocations: 17.1 MB / 0.8568 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-05/2.351, allocations: 5.609 kB / 0.8568 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/2.355, allocations: 0.5782 MB / 0.8574 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00817/2.364, allocations: 2.054 MB / 0.8594 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/2.365, allocations: 62.59 kB / 0.8595 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02245/2.388, allocations: 13.66 MB / 0.8728 GB, free: 121.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-05/2.388, allocations: 14.67 kB / 0.8728 GB, free: 121.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/2.414, allocations: 13.1 MB / 0.8856 GB, free: 116.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005012/2.419, allocations: 1.234 MB / 0.8868 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003143/2.422, allocations: 66.48 kB / 0.8869 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005653/2.428, allocations: 244.1 kB / 0.8871 GB, free: 115.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.429, allocations: 204.1 kB / 0.8873 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008544/2.43, allocations: 91.64 kB / 0.8874 GB, free: 115.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01/2.44, allocations: 4.354 MB / 0.8917 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.81e-07/2.44, allocations: 2.719 kB / 0.8917 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01309/2.453, allocations: 1.767 MB / 0.8934 GB, free: 109.3 MB / 0.4982 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 (279): * Single equations (assignments): 274 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/2.455, allocations: 217.4 kB / 0.8936 GB, free: 109.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02126/2.476, allocations: 12.3 MB / 0.9056 GB, free: 97.05 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/2.476, allocations: 0 / 0.9056 GB, free: 97.05 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007692/2.484, allocations: 3.978 MB / 0.9095 GB, free: 93.05 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/2.495, allocations: 0.7809 MB / 0.9102 GB, free: 92.32 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04156/2.536, allocations: 20 MB / 0.9298 GB, free: 72.31 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009212/2.546, allocations: 5.038 MB / 0.9347 GB, free: 67.24 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00745/2.553, allocations: 2.977 MB / 0.9376 GB, free: 64.25 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/2.555, allocations: 411.3 kB / 0.938 GB, free: 63.85 MB / 0.4982 GB Notification: Performance of SimCode: time 1.944e-06/2.555, allocations: 5.969 kB / 0.938 GB, free: 63.85 MB / 0.4982 GB Notification: Performance of Templates: time 0.3898/2.944, allocations: 72.98 MB / 1.009 GB, free: 151.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)