Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000934/0.0009342, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006097/0.006098, allocations: 170 kB / 16.27 MB, free: 6.324 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.472/1.472, allocations: 205.4 MB / 222.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3404/0.3404, allocations: 38.04 MB / 308.8 MB, free: 10.4 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.1. 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.0005967/0.0005967, allocations: 23.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1259, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2746/0.4005, allocations: 71.91 MB / 0.4946 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03391/0.4345, allocations: 14.49 MB / 0.5088 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01783/0.4524, allocations: 314.7 kB / 0.5091 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.4547, allocations: 0.5279 MB / 0.5096 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.463, allocations: 2.279 MB / 0.5118 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.4652, allocations: 0.8192 MB / 0.5126 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.4806, allocations: 8.721 MB / 0.5211 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.4922, allocations: 6.472 MB / 0.5274 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.4967, allocations: 1.578 MB / 0.529 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/0.5019, allocations: 2.717 MB / 0.5316 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009583/0.5029, allocations: 191.5 kB / 0.5318 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.5058, allocations: 1.307 MB / 0.5331 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002656/0.5085, allocations: 2.412 MB / 0.5354 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004127/0.5126, allocations: 2.699 MB / 0.5381 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.5258, allocations: 8.972 MB / 0.5468 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5259, allocations: 0 / 0.5468 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5259, allocations: 0 / 0.5468 GB, free: 8.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003967/0.5263, allocations: 0 / 0.5468 GB, free: 8.973 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.01292/0.5392, allocations: 5.381 MB / 0.5521 GB, free: 3.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.5393, allocations: 12.03 kB / 0.5521 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.5519, allocations: 2.719 MB / 0.5548 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009748/0.5617, allocations: 4 MB / 0.5587 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.5621, allocations: 308.2 kB / 0.559 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.5637, allocations: 415.6 kB / 0.5594 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.589, allocations: 13.03 MB / 0.5721 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.5892, allocations: 59.53 kB / 0.5721 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008018/0.5901, allocations: 195.8 kB / 0.5723 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004161/0.5942, allocations: 2.503 MB / 0.5748 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.6159, allocations: 10.86 MB / 0.5854 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2916/0.9075, allocations: 50.18 MB / 0.6344 GB, free: 131.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.9185, allocations: 4.561 MB / 0.6388 GB, free: 131.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/0.9217, allocations: 2.451 MB / 0.6412 GB, free: 131 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.9328, allocations: 6.729 MB / 0.6478 GB, free: 129.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.9329, allocations: 58.97 kB / 0.6479 GB, free: 129.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 3.998e-06/0.9329, allocations: 0 / 0.6479 GB, free: 129.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04661/0.9795, allocations: 19.39 MB / 0.6668 GB, free: 122.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.9797, allocations: 229.4 kB / 0.667 GB, free: 122.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/0.9942, allocations: 5.914 MB / 0.6728 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004841/0.9947, allocations: 52.86 kB / 0.6728 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002968/0.9977, allocations: 4.066 MB / 0.6768 GB, free: 117.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.999, allocations: 0.773 MB / 0.6776 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1, allocations: 0.647 MB / 0.6782 GB, free: 116.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/1, allocations: 303.6 kB / 0.6785 GB, free: 116.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.005, allocations: 2.639 MB / 0.6811 GB, free: 115.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/1.012, allocations: 7.16 MB / 0.6881 GB, free: 108.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.022, allocations: 10.52 MB / 0.6983 GB, free: 99.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/1.022, allocations: 43.28 kB / 0.6984 GB, free: 99.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01972/1.042, allocations: 10.57 MB / 0.7087 GB, free: 95.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.042, allocations: 70.94 kB / 0.7088 GB, free: 95.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/1.043, allocations: 165.1 kB / 0.7089 GB, free: 95.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/1.045, allocations: 1.239 MB / 0.7101 GB, free: 95.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005644/1.051, allocations: 1.725 MB / 0.7118 GB, free: 95.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008041/1.059, allocations: 7.908 MB / 0.7195 GB, free: 88.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007082/1.066, allocations: 418.7 kB / 0.7199 GB, free: 87.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.068, allocations: 459.4 kB / 0.7204 GB, free: 87.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.004236/1.072, allocations: 2.69 MB / 0.723 GB, free: 84.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.073, allocations: 489.6 kB / 0.7235 GB, free: 84.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006203/1.079, allocations: 4.036 MB / 0.7274 GB, free: 80.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/1.079, allocations: 20 kB / 0.7274 GB, free: 80.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.079, allocations: 11.98 kB / 0.7274 GB, free: 80.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.079, allocations: 7.969 kB / 0.7274 GB, free: 80.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.094, allocations: 9.563 MB / 0.7368 GB, free: 70.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.094, allocations: 7.969 kB / 0.7368 GB, free: 70.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.096, allocations: 323.5 kB / 0.7371 GB, free: 70.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.099, allocations: 1 MB / 0.7381 GB, free: 69.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/1.099, allocations: 35.98 kB / 0.7381 GB, free: 69.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/1.106, allocations: 7.238 MB / 0.7452 GB, free: 61.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.106, allocations: 7.812 kB / 0.7452 GB, free: 61.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008861/1.115, allocations: 6.893 MB / 0.7519 GB, free: 54.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/1.117, allocations: 0.85 MB / 0.7527 GB, free: 53.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008313/1.118, allocations: 32 kB / 0.7528 GB, free: 53.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.12, allocations: 115.8 kB / 0.7529 GB, free: 53.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.12, allocations: 124.1 kB / 0.753 GB, free: 53.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.12, allocations: 52 kB / 0.753 GB, free: 53.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004943/1.125, allocations: 3.786 MB / 0.7567 GB, free: 49.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/1.125, allocations: 0 / 0.7567 GB, free: 49.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006931/1.132, allocations: 1.295 MB / 0.758 GB, free: 48.62 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.0004629/1.132, allocations: 178.4 kB / 0.7582 GB, free: 48.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00914/1.142, allocations: 6.304 MB / 0.7643 GB, free: 42.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/1.142, allocations: 0 / 0.7643 GB, free: 42.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/1.144, allocations: 1.916 MB / 0.7662 GB, free: 40.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/1.15, allocations: 0.6012 MB / 0.7668 GB, free: 39.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.169, allocations: 14.78 MB / 0.7812 GB, free: 24.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004741/1.174, allocations: 4.131 MB / 0.7853 GB, free: 20.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0056/1.179, allocations: 2.313 MB / 0.7875 GB, free: 18.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.18, allocations: 319.4 kB / 0.7878 GB, free: 17.99 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/1.18, allocations: 0 / 0.7878 GB, free: 17.99 MB / 494.1 MB Notification: Performance of Templates: time 0.2862/1.467, allocations: 46.71 MB / 0.8334 GB, free: 129.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: