Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.548/1.548, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4826/0.4826, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.001516/0.001516, allocations: 75.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1631, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3804/0.5436, allocations: 19.83 MB / 454.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.56, allocations: 5.946 MB / 460.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.5667, allocations: 136.3 kB / 460.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.5792, allocations: 6.372 MB / 466.8 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.5924, allocations: 3.228 MB / 470 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00557/0.598, allocations: 1.586 MB / 471.6 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01762/0.6157, allocations: 9.597 MB / 481.2 MB, free: 30.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.6291, allocations: 8.259 MB / 489.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.6397, allocations: 3.348 MB / 492.8 MB, free: 25.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.6508, allocations: 4.631 MB / 497.4 MB, free: 24.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00461/0.6555, allocations: 0.7487 MB / 498.2 MB, free: 24.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009568/0.6651, allocations: 1.757 MB / 499.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01111/0.6762, allocations: 4.198 MB / 0.4923 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01405/0.6903, allocations: 4.648 MB / 0.4969 GB, free: 19.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02499/0.7154, allocations: 14.02 MB / 0.5105 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.7154, allocations: 0 / 0.5105 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.678e-06/0.7155, allocations: 0 / 0.5105 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007878/0.7162, allocations: 3.938 kB / 0.5106 GB, free: 9.109 MB / 382.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.03907/0.7553, allocations: 9.764 MB / 0.5201 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.027e-05/0.7554, allocations: 11.89 kB / 0.5201 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03342/0.7889, allocations: 3.678 MB / 0.5237 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/0.8182, allocations: 6.473 MB / 0.53 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/0.819, allocations: 480.5 kB / 0.5305 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0044/0.8234, allocations: 0.6365 MB / 0.5311 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05248/0.8759, allocations: 19.13 MB / 0.5498 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007539/0.8768, allocations: 91.2 kB / 0.5499 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003911/0.8807, allocations: 300.5 kB / 0.5501 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007438/0.8882, allocations: 3.412 MB / 0.5535 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/0.9302, allocations: 16.18 MB / 0.5693 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7397/1.67, allocations: 70.58 MB / 0.6382 GB, free: 92.58 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/1.689, allocations: 8.474 MB / 0.6465 GB, free: 91.89 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006358/1.696, allocations: 4.529 MB / 0.6509 GB, free: 91.75 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007588/1.696, allocations: 0.6707 MB / 0.6515 GB, free: 91.16 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/1.696, allocations: 66.34 kB / 0.6516 GB, free: 91.1 MB / 494.2 MB Notification: Performance of pre-optimization done (n=307): time 5.671e-06/1.696, allocations: 3.719 kB / 0.6516 GB, free: 91.1 MB / 494.2 MB Notification: Performance of matching and sorting (n=331): time 0.1062/1.803, allocations: 35.01 MB / 0.6858 GB, free: 78.95 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/1.803, allocations: 298.1 kB / 0.6861 GB, free: 78.63 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/1.814, allocations: 7.638 MB / 0.6935 GB, free: 76 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.816, allocations: 76.55 kB / 0.6936 GB, free: 75.93 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003604/1.819, allocations: 5.503 MB / 0.699 GB, free: 71.72 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.821, allocations: 1.254 MB / 0.7002 GB, free: 70.8 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002723/1.824, allocations: 2.035 MB / 0.7022 GB, free: 69.84 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 5.667e-05/1.824, allocations: 301.1 kB / 0.7025 GB, free: 69.54 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.829, allocations: 4.04 MB / 0.7064 GB, free: 68.19 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00847/1.837, allocations: 9.588 MB / 0.7158 GB, free: 59.51 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.854, allocations: 14.54 MB / 0.73 GB, free: 43.4 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000278/1.854, allocations: 56.66 kB / 0.7301 GB, free: 43.34 MB / 494.2 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03524/1.889, allocations: 15.48 MB / 0.7452 GB, free: 27.83 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003647/1.89, allocations: 88 kB / 0.7453 GB, free: 27.75 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004885/1.89, allocations: 192 kB / 0.7454 GB, free: 27.56 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006441/1.897, allocations: 2.312 MB / 0.7477 GB, free: 25.24 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008522/1.905, allocations: 2.343 MB / 0.75 GB, free: 22.89 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.923, allocations: 16.5 MB / 0.7661 GB, free: 5.887 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/1.934, allocations: 0.5672 MB / 0.7667 GB, free: 5.32 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002909/1.937, allocations: 0.5625 MB / 0.7672 GB, free: 4.758 MB / 494.2 MB 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.0106/1.948, allocations: 3.737 MB / 0.7709 GB, free: 1.012 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002742/1.951, allocations: 0.6479 MB / 0.7715 GB, free: 364 kB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.969, allocations: 7.883 MB / 0.7792 GB, free: 8.438 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/1.969, allocations: 32 kB / 0.7792 GB, free: 8.406 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/1.97, allocations: 16 kB / 0.7792 GB, free: 8.391 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.403e-05/1.97, allocations: 15.94 kB / 0.7792 GB, free: 8.375 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04746/2.017, allocations: 16.98 MB / 0.7958 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/2.017, allocations: 4.562 kB / 0.7958 GB, free: 7.387 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/2.021, allocations: 0.6043 MB / 0.7964 GB, free: 6.785 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005822/2.026, allocations: 1.971 MB / 0.7983 GB, free: 4.801 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008838/2.027, allocations: 59.98 kB / 0.7984 GB, free: 4.742 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/2.048, allocations: 15.34 MB / 0.8134 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.048, allocations: 0 / 0.8134 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02194/2.07, allocations: 12.26 MB / 0.8254 GB, free: 8.5 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004969/2.075, allocations: 1.25 MB / 0.8266 GB, free: 7.223 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002277/2.077, allocations: 63.86 kB / 0.8266 GB, free: 7.16 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/2.082, allocations: 231.7 kB / 0.8269 GB, free: 6.934 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/2.082, allocations: 190.3 kB / 0.827 GB, free: 6.75 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/2.083, allocations: 87.98 kB / 0.8271 GB, free: 6.664 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.01018/2.093, allocations: 4.878 MB / 0.8319 GB, free: 1.82 MB / 0.5451 GB Notification: Performance of sort global known variables: time 5.01e-07/2.093, allocations: 0 / 0.8319 GB, free: 1.82 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.3449/2.438, allocations: 1.961 MB / 0.8338 GB, free: 179.3 MB / 0.5451 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.001662/2.439, allocations: 196.2 kB / 0.834 GB, free: 179.2 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.02177/2.461, allocations: 12.16 MB / 0.8459 GB, free: 178.1 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/2.461, allocations: 2.297 kB / 0.8459 GB, free: 178.1 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005162/2.466, allocations: 3.6 MB / 0.8494 GB, free: 176.6 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00715/2.474, allocations: 0.9606 MB / 0.8503 GB, free: 176.2 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/2.512, allocations: 18.45 MB / 0.8683 GB, free: 168.5 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/2.523, allocations: 5.734 MB / 0.8739 GB, free: 166.6 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.01326/2.536, allocations: 3.027 MB / 0.8769 GB, free: 166.3 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/2.539, allocations: 449.4 kB / 0.8773 GB, free: 166.3 MB / 0.5451 GB Notification: Performance of SimCode: time 8.22e-07/2.539, allocations: 0 / 0.8773 GB, free: 166.3 MB / 0.5451 GB Notification: Performance of Templates: time 0.1408/2.68, allocations: 80.42 MB / 0.9559 GB, free: 105.7 MB / 0.5451 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)