Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00725/0.007249, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001122/0.001122, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3008/0.3008, allocations: 38 MB / 307.9 MB, free: 10.11 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.001508/0.001508, allocations: 67.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01543/0.2964, allocations: 18.75 MB / 0.4963 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3093, allocations: 5.455 MB / 0.5017 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.3137, allocations: 125.2 kB / 0.5018 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.3252, allocations: 5.849 MB / 0.5075 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.3362, allocations: 2.957 MB / 0.5104 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.3396, allocations: 1.214 MB / 0.5116 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.3512, allocations: 7.484 MB / 0.5189 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008752/0.3599, allocations: 7.559 MB / 0.5263 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.365, allocations: 2.936 MB / 0.5291 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.3711, allocations: 4.019 MB / 0.5331 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.3729, allocations: 0.668 MB / 0.5337 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.3765, allocations: 1.537 MB / 0.5352 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003399/0.3799, allocations: 3.749 MB / 0.5389 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005052/0.385, allocations: 4.23 MB / 0.543 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.3991, allocations: 13.21 MB / 0.5559 GB, free: 3.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3991, allocations: 0 / 0.5559 GB, free: 3.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.3991, allocations: 0 / 0.5559 GB, free: 3.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003749/0.3995, allocations: 3.938 kB / 0.5559 GB, free: 3.508 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01848/0.418, allocations: 8.854 MB / 0.5645 GB, free: 10.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.418, allocations: 11.89 kB / 0.5646 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.4317, allocations: 2.977 MB / 0.5675 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.4435, allocations: 4.965 MB / 0.5723 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.4439, allocations: 451.9 kB / 0.5727 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.446, allocations: 0.5932 MB / 0.5733 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/0.4813, allocations: 18.49 MB / 0.5914 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.4816, allocations: 71.36 kB / 0.5914 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008784/0.4825, allocations: 283.7 kB / 0.5917 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/0.4881, allocations: 3.538 MB / 0.5952 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/0.5196, allocations: 15.68 MB / 0.6105 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5458/1.065, allocations: 69.86 MB / 0.6787 GB, free: 76.7 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.088, allocations: 8.454 MB / 0.687 GB, free: 74.11 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006457/1.094, allocations: 4.994 MB / 0.6918 GB, free: 72.11 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02248/1.117, allocations: 11.87 MB / 0.7034 GB, free: 65.9 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/1.117, allocations: 69.81 kB / 0.7035 GB, free: 65.84 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=347): time 7.574e-06/1.117, allocations: 0 / 0.7035 GB, free: 65.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=389): time 0.09304/1.21, allocations: 38.92 MB / 0.7415 GB, free: 37.07 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.21, allocations: 244.9 kB / 0.7417 GB, free: 36.78 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009981/1.22, allocations: 7.428 MB / 0.749 GB, free: 29.36 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.221, allocations: 93.22 kB / 0.7491 GB, free: 29.27 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/1.224, allocations: 5.203 MB / 0.7542 GB, free: 24.07 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.226, allocations: 1.446 MB / 0.7556 GB, free: 22.64 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002818/1.229, allocations: 2.085 MB / 0.7576 GB, free: 20.54 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/1.229, allocations: 309.1 kB / 0.7579 GB, free: 20.24 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005341/1.234, allocations: 4.471 MB / 0.7623 GB, free: 15.76 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008076/1.242, allocations: 10.09 MB / 0.7721 GB, free: 2.938 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/1.265, allocations: 15.65 MB / 0.7874 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002046/1.265, allocations: 56 kB / 0.7875 GB, free: 0.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.04168/1.307, allocations: 16.45 MB / 0.8035 GB, free: 24 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/1.308, allocations: 92.42 kB / 0.8036 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003927/1.308, allocations: 195.9 kB / 0.8038 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/1.315, allocations: 2.312 MB / 0.8061 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009854/1.324, allocations: 2.441 MB / 0.8085 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/1.345, allocations: 14.43 MB / 0.8226 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.356, allocations: 0.5968 MB / 0.8231 GB, free: 11.67 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002627/1.358, allocations: 0.5881 MB / 0.8237 GB, free: 11.09 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 (1261): * Single equations (assignments): 1254 * 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.009692/1.368, allocations: 3.616 MB / 0.8272 GB, free: 7.457 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002441/1.37, allocations: 0.6401 MB / 0.8279 GB, free: 6.809 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/1.39, allocations: 9.199 MB / 0.8368 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/1.39, allocations: 43.98 kB / 0.8369 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.453e-05/1.39, allocations: 12 kB / 0.8369 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/1.39, allocations: 15.94 kB / 0.8369 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/1.437, allocations: 19.15 MB / 0.8556 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.832e-05/1.437, allocations: 8 kB / 0.8556 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004419/1.441, allocations: 0.7021 MB / 0.8563 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/1.448, allocations: 2.046 MB / 0.8583 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/1.449, allocations: 79.92 kB / 0.8584 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3005/1.749, allocations: 13.77 MB / 0.8718 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/1.75, allocations: 14.23 kB / 0.8718 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/1.778, allocations: 14.33 MB / 0.8858 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004871/1.783, allocations: 1.345 MB / 0.8872 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002214/1.785, allocations: 76.06 kB / 0.8872 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004573/1.79, allocations: 262.8 kB / 0.8875 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009431/1.79, allocations: 253.5 kB / 0.8877 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/1.791, allocations: 105.2 kB / 0.8878 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009381/1.8, allocations: 4.791 MB / 0.8925 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.72e-07/1.8, allocations: 0 / 0.8925 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009913/1.81, allocations: 1.946 MB / 0.8944 GB, free: 188 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.0009145/1.811, allocations: 221.9 kB / 0.8946 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01823/1.829, allocations: 10.82 MB / 0.9052 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/1.829, allocations: 0 / 0.9052 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006921/1.836, allocations: 4.329 MB / 0.9094 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/1.842, allocations: 0.8359 MB / 0.9102 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/1.871, allocations: 18.36 MB / 0.9282 GB, free: 170 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006813/1.878, allocations: 5.475 MB / 0.9335 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00764/1.886, allocations: 3.326 MB / 0.9367 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/1.888, allocations: 459.3 kB / 0.9372 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.203e-06/1.888, allocations: 0 / 0.9372 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1212/2.009, allocations: 73.78 MB / 1.009 GB, free: 87.87 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)