Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009476/0.009476, allocations: 101.3 kB / 15.73 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.001997/0.001998, allocations: 186.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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.348 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.4036/0.4036, allocations: 38 MB / 307.9 MB, free: 10.42 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.001811/0.001811, allocations: 75.88 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3444, allocations: 56.47 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.02082/0.3653, allocations: 19.84 MB / 0.4974 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.3831, allocations: 5.945 MB / 0.5032 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007056/0.3902, allocations: 140 kB / 0.5034 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01333/0.4037, allocations: 6.364 MB / 0.5096 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.4173, allocations: 3.228 MB / 0.5127 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.4238, allocations: 1.6 MB / 0.5143 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.4468, allocations: 9.59 MB / 0.5237 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.4604, allocations: 8.257 MB / 0.5317 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007202/0.4677, allocations: 3.353 MB / 0.535 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007523/0.4752, allocations: 4.631 MB / 0.5395 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003431/0.4787, allocations: 0.7461 MB / 0.5402 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007146/0.4858, allocations: 1.76 MB / 0.542 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007662/0.4935, allocations: 4.197 MB / 0.5461 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0121/0.5057, allocations: 4.646 MB / 0.5506 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02786/0.5336, allocations: 14.47 MB / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5336, allocations: 0 / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5336, allocations: 0 / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006791/0.5343, allocations: 0 / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03012/0.5644, allocations: 10.02 MB / 0.5745 GB, free: 300 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5645, allocations: 11.89 kB / 0.5745 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.5853, allocations: 3.739 MB / 0.5782 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/0.6039, allocations: 6.591 MB / 0.5846 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/0.6046, allocations: 488.8 kB / 0.5851 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003469/0.6081, allocations: 0.6413 MB / 0.5857 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/0.6529, allocations: 19.13 MB / 0.6044 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/0.6533, allocations: 87.34 kB / 0.6045 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001196/0.6545, allocations: 303.8 kB / 0.6048 GB, free: 100 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006064/0.6605, allocations: 3.41 MB / 0.6081 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03735/0.6979, allocations: 16.17 MB / 0.6239 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4008/1.099, allocations: 70.34 MB / 0.6926 GB, free: 72.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.121, allocations: 8.48 MB / 0.7009 GB, free: 69.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005762/1.127, allocations: 4.535 MB / 0.7053 GB, free: 67.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/1.128, allocations: 0.6634 MB / 0.7059 GB, free: 66.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/1.128, allocations: 68.41 kB / 0.706 GB, free: 66.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=307): time 5.49e-06/1.128, allocations: 0 / 0.706 GB, free: 66.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=331): time 0.09908/1.227, allocations: 35.55 MB / 0.7407 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.227, allocations: 291.7 kB / 0.741 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.239, allocations: 7.655 MB / 0.7485 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.24, allocations: 81.7 kB / 0.7485 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003012/1.243, allocations: 5.691 MB / 0.7541 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.245, allocations: 1.324 MB / 0.7554 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002419/1.247, allocations: 2.047 MB / 0.7574 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/1.247, allocations: 305.1 kB / 0.7577 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.252, allocations: 4.044 MB / 0.7616 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007352/1.26, allocations: 9.59 MB / 0.771 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/1.278, allocations: 14.54 MB / 0.7852 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/1.278, allocations: 56 kB / 0.7852 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03442/1.313, allocations: 15.51 MB / 0.8004 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/1.313, allocations: 88 kB / 0.8005 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004163/1.313, allocations: 192 kB / 0.8007 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006672/1.32, allocations: 2.309 MB / 0.8029 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008938/1.329, allocations: 2.343 MB / 0.8052 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/1.35, allocations: 16.51 MB / 0.8213 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009982/1.36, allocations: 0.5619 MB / 0.8219 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/1.363, allocations: 0.5625 MB / 0.8224 GB, free: 13.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1220): * Single equations (assignments): 1213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01105/1.374, allocations: 3.747 MB / 0.8261 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/1.377, allocations: 0.6868 MB / 0.8268 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.396, allocations: 7.883 MB / 0.8344 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-05/1.396, allocations: 36 kB / 0.8345 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/1.396, allocations: 11.98 kB / 0.8345 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-05/1.396, allocations: 11.95 kB / 0.8345 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/1.441, allocations: 16.92 MB / 0.851 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.101e-05/1.441, allocations: 0 / 0.851 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/1.444, allocations: 0.6086 MB / 0.8516 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006102/1.45, allocations: 1.962 MB / 0.8535 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009289/1.451, allocations: 67.92 kB / 0.8536 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3826/1.834, allocations: 15.33 MB / 0.8686 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.834, allocations: 2.844 kB / 0.8686 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/1.858, allocations: 12.29 MB / 0.8806 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004393/1.863, allocations: 1.287 MB / 0.8818 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/1.865, allocations: 58.14 kB / 0.8819 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/1.869, allocations: 231.2 kB / 0.8821 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007452/1.87, allocations: 194.5 kB / 0.8823 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.87, allocations: 87.12 kB / 0.8824 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01086/1.881, allocations: 4.885 MB / 0.8871 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.8e-07/1.881, allocations: 0 / 0.8871 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01299/1.894, allocations: 1.959 MB / 0.8891 GB, free: 191.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.895, allocations: 205.9 kB / 0.8893 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.912, allocations: 9.928 MB / 0.899 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.912, allocations: 0 / 0.899 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005325/1.917, allocations: 3.615 MB / 0.9025 GB, free: 186 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009301/1.927, allocations: 0.949 MB / 0.9034 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/1.961, allocations: 18.51 MB / 0.9215 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008636/1.97, allocations: 5.747 MB / 0.9271 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007494/1.977, allocations: 3.022 MB / 0.9301 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/1.979, allocations: 451.4 kB / 0.9305 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of SimCode: time 3.236e-06/1.979, allocations: 0 / 0.9305 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1265/2.106, allocations: 74.48 MB / 1.003 GB, free: 94.67 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)