Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009191/0.0009192, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3645/0.3645, allocations: 38.03 MB / 308.4 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.0005942/0.0005943, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3405/0.4951, allocations: 62.72 MB / 496.6 MB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04106/0.5362, allocations: 14.45 MB / 0.4991 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02065/0.5569, allocations: 315.7 kB / 0.4994 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.5728, allocations: 3.151 MB / 0.5025 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03933/0.6122, allocations: 9.064 MB / 0.5113 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.6177, allocations: 0.7718 MB / 0.5121 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04415/0.6619, allocations: 26.87 MB / 0.5383 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009277/0.6712, allocations: 5.46 MB / 0.5437 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.6744, allocations: 1.363 MB / 0.545 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.6774, allocations: 1.826 MB / 0.5468 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007219/0.6781, allocations: 187.9 kB / 0.547 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.6807, allocations: 1.069 MB / 0.548 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.6831, allocations: 2.147 MB / 0.5501 GB, free: 5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.6846, allocations: 1.088 MB / 0.5512 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.6943, allocations: 7.326 MB / 0.5583 GB, free: 12.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6943, allocations: 0 / 0.5583 GB, free: 12.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6944, allocations: 0 / 0.5583 GB, free: 12.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003769/0.6947, allocations: 0 / 0.5583 GB, free: 12.56 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0154/0.7101, allocations: 5.637 MB / 0.5638 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7102, allocations: 8.031 kB / 0.5638 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04408/0.7543, allocations: 8.082 MB / 0.5717 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.7674, allocations: 4.241 MB / 0.5759 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.7679, allocations: 303.5 kB / 0.5762 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002388/0.7703, allocations: 395.7 kB / 0.5765 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.7981, allocations: 12.58 MB / 0.5888 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.7984, allocations: 59.39 kB / 0.5889 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.799, allocations: 195.8 kB / 0.5891 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.8033, allocations: 2.405 MB / 0.5914 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.8299, allocations: 10.37 MB / 0.6015 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3461/1.176, allocations: 48.54 MB / 0.649 GB, free: 113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.186, allocations: 4.674 MB / 0.6535 GB, free: 112.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/1.198, allocations: 6.969 MB / 0.6603 GB, free: 110.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.198, allocations: 60.88 kB / 0.6604 GB, free: 110.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.208e-06/1.198, allocations: 1.875 kB / 0.6604 GB, free: 110.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04184/1.24, allocations: 16.46 MB / 0.6765 GB, free: 104 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/1.24, allocations: 201.2 kB / 0.6766 GB, free: 103.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.251, allocations: 6.081 MB / 0.6826 GB, free: 101.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005025/1.252, allocations: 51.52 kB / 0.6826 GB, free: 101.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003061/1.255, allocations: 3.995 MB / 0.6865 GB, free: 98.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.256, allocations: 0.7589 MB / 0.6873 GB, free: 98.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.256, allocations: 143.6 kB / 0.6874 GB, free: 97.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004579/1.257, allocations: 0.6031 MB / 0.688 GB, free: 97.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/1.261, allocations: 2.358 MB / 0.6903 GB, free: 96.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006829/1.268, allocations: 6.748 MB / 0.6969 GB, free: 90.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006992/1.275, allocations: 3.901 MB / 0.7007 GB, free: 88.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/1.275, allocations: 44.25 kB / 0.7008 GB, free: 88.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.02039/1.296, allocations: 9.352 MB / 0.7099 GB, free: 85.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000543/1.296, allocations: 74.56 kB / 0.71 GB, free: 85.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000585/1.297, allocations: 158 kB / 0.7101 GB, free: 85.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/1.299, allocations: 0.732 MB / 0.7108 GB, free: 84.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/1.305, allocations: 1.649 MB / 0.7124 GB, free: 84.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/1.312, allocations: 6.446 MB / 0.7187 GB, free: 80.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/1.32, allocations: 389.2 kB / 0.7191 GB, free: 80.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/1.322, allocations: 435.6 kB / 0.7195 GB, free: 80.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007946/1.33, allocations: 2.625 MB / 0.7221 GB, free: 77.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/1.332, allocations: 485.2 kB / 0.7225 GB, free: 77.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/1.338, allocations: 3.231 MB / 0.7257 GB, free: 74.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/1.338, allocations: 23.94 kB / 0.7257 GB, free: 74.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.338, allocations: 8 kB / 0.7257 GB, free: 74.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.339, allocations: 8.859 kB / 0.7257 GB, free: 74.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.359, allocations: 8.585 MB / 0.7341 GB, free: 66.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.359, allocations: 4 kB / 0.7341 GB, free: 66.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.361, allocations: 367.7 kB / 0.7345 GB, free: 65.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/1.362, allocations: 493.1 kB / 0.7349 GB, free: 65.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.363, allocations: 36.94 kB / 0.735 GB, free: 65.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005617/1.368, allocations: 5.815 MB / 0.7407 GB, free: 59.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.368, allocations: 4 kB / 0.7407 GB, free: 59.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008149/1.376, allocations: 6.286 MB / 0.7468 GB, free: 52.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.38, allocations: 0.8188 MB / 0.7476 GB, free: 52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/1.382, allocations: 31.98 kB / 0.7476 GB, free: 51.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.385, allocations: 99.88 kB / 0.7477 GB, free: 51.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.385, allocations: 109.1 kB / 0.7478 GB, free: 51.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.385, allocations: 63.92 kB / 0.7479 GB, free: 51.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007564/1.393, allocations: 3.915 MB / 0.7517 GB, free: 47.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.393, allocations: 0 / 0.7517 GB, free: 47.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01001/1.403, allocations: 1.24 MB / 0.7529 GB, free: 46.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009269/1.404, allocations: 179.3 kB / 0.7531 GB, free: 46.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009875/1.414, allocations: 5.771 MB / 0.7587 GB, free: 40.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.414, allocations: 0 / 0.7587 GB, free: 40.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/1.416, allocations: 1.749 MB / 0.7604 GB, free: 38.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/1.42, allocations: 0.6001 MB / 0.761 GB, free: 38.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.444, allocations: 13.46 MB / 0.7742 GB, free: 24.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006632/1.451, allocations: 4.137 MB / 0.7782 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00654/1.457, allocations: 2.295 MB / 0.7804 GB, free: 18.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.459, allocations: 315.4 kB / 0.7807 GB, free: 17.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/1.459, allocations: 0 / 0.7807 GB, free: 17.98 MB / 494.1 MB Notification: Performance of Templates: time 0.09057/1.55, allocations: 44.57 MB / 0.8243 GB, free: 5.492 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: