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.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001481/0.001482, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 4.746 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.3678/0.3678, allocations: 37.99 MB / 307.3 MB, free: 10.08 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.001563/0.001563, allocations: 71.91 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1702, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4318/0.602, allocations: 124.8 MB / 0.5428 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08411/0.6862, allocations: 23.41 MB / 0.5656 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04268/0.729, allocations: 0.5261 MB / 0.5661 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.7411, allocations: 6.377 MB / 0.5724 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009995/0.7512, allocations: 3.059 MB / 0.5754 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.7556, allocations: 1.496 MB / 0.5768 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0216/0.7773, allocations: 13.88 MB / 0.5904 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.7901, allocations: 8.11 MB / 0.5983 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008454/0.7986, allocations: 2.97 MB / 0.6012 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009053/0.8077, allocations: 4.923 MB / 0.606 GB, free: 9.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.8104, allocations: 0.5156 MB / 0.6065 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.8154, allocations: 1.6 MB / 0.6081 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005773/0.8212, allocations: 4.005 MB / 0.612 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009472/0.8307, allocations: 4.424 MB / 0.6163 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.8493, allocations: 13.81 MB / 0.6298 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8494, allocations: 0 / 0.6298 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8494, allocations: 0 / 0.6298 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005811/0.85, allocations: 4 kB / 0.6298 GB, free: 1.32 MB / 494.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.2702/1.12, allocations: 9.758 MB / 0.6393 GB, free: 152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.034e-05/1.12, allocations: 13 kB / 0.6393 GB, free: 152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/1.141, allocations: 3.678 MB / 0.6429 GB, free: 151.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.158, allocations: 6.462 MB / 0.6492 GB, free: 148.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/1.159, allocations: 483.1 kB / 0.6497 GB, free: 148.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/1.163, allocations: 0.6408 MB / 0.6503 GB, free: 148.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05262/1.215, allocations: 19.13 MB / 0.669 GB, free: 139.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008912/1.216, allocations: 89.69 kB / 0.6691 GB, free: 139.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/1.22, allocations: 300.1 kB / 0.6694 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00763/1.228, allocations: 3.414 MB / 0.6727 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/1.269, allocations: 16.17 MB / 0.6885 GB, free: 129.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09832/1.367, allocations: 70.58 MB / 0.7574 GB, free: 57.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.387, allocations: 8.48 MB / 0.7657 GB, free: 48.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.393, allocations: 4.522 MB / 0.7701 GB, free: 43.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009164/1.394, allocations: 0.6607 MB / 0.7708 GB, free: 43.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.502e-05/1.394, allocations: 76.81 kB / 0.7708 GB, free: 43.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 7.815e-06/1.394, allocations: 0 / 0.7708 GB, free: 43.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.09044/1.485, allocations: 35 MB / 0.805 GB, free: 7.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.485, allocations: 295.7 kB / 0.8053 GB, free: 7.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4844/1.969, allocations: 7.645 MB / 0.8128 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.97, allocations: 77.95 kB / 0.8128 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004322/1.975, allocations: 5.5 MB / 0.8182 GB, free: 133.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001946/1.977, allocations: 1.255 MB / 0.8194 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003125/1.98, allocations: 2.035 MB / 0.8214 GB, free: 131.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.98, allocations: 304.2 kB / 0.8217 GB, free: 131.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005176/1.985, allocations: 4.047 MB / 0.8257 GB, free: 129.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008084/1.993, allocations: 9.585 MB / 0.835 GB, free: 121.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/2.009, allocations: 14.53 MB / 0.8492 GB, free: 109.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002333/2.01, allocations: 56 kB / 0.8493 GB, free: 109.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03338/2.043, allocations: 15.48 MB / 0.8644 GB, free: 104.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001998/2.043, allocations: 88.09 kB / 0.8645 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000376/2.044, allocations: 196.5 kB / 0.8647 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008035/2.052, allocations: 2.301 MB / 0.8669 GB, free: 103.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009396/2.061, allocations: 2.343 MB / 0.8692 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/2.082, allocations: 15.31 MB / 0.8841 GB, free: 94.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009972/2.092, allocations: 0.5735 MB / 0.8847 GB, free: 94.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0026/2.095, allocations: 0.5614 MB / 0.8852 GB, free: 94.02 MB / 494.1 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.009835/2.105, allocations: 3.737 MB / 0.8889 GB, free: 92.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.107, allocations: 0.6537 MB / 0.8895 GB, free: 91.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/2.12, allocations: 7.881 MB / 0.8972 GB, free: 87.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.177e-05/2.12, allocations: 39.94 kB / 0.8973 GB, free: 87.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/2.12, allocations: 12 kB / 0.8973 GB, free: 87.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/2.12, allocations: 19.05 kB / 0.8973 GB, free: 87.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02855/2.149, allocations: 16.99 MB / 0.9139 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/2.149, allocations: 3.984 kB / 0.9139 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/2.152, allocations: 0.5929 MB / 0.9145 GB, free: 71.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004898/2.157, allocations: 1.973 MB / 0.9164 GB, free: 69.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005922/2.157, allocations: 59.98 kB / 0.9165 GB, free: 69.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/2.17, allocations: 14.17 MB / 0.9303 GB, free: 55.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/2.17, allocations: 0.75 kB / 0.9303 GB, free: 55.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/2.188, allocations: 12.26 MB / 0.9423 GB, free: 42.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/2.192, allocations: 1.25 MB / 0.9435 GB, free: 41.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/2.194, allocations: 56 kB / 0.9435 GB, free: 41.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/2.198, allocations: 235.6 kB / 0.9438 GB, free: 41.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/2.198, allocations: 190.3 kB / 0.9439 GB, free: 40.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/2.199, allocations: 88.45 kB / 0.944 GB, free: 40.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008091/2.207, allocations: 4.882 MB / 0.9488 GB, free: 36.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/2.207, allocations: 384 / 0.9488 GB, free: 36.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01301/2.22, allocations: 1.963 MB / 0.9507 GB, free: 34.07 MB / 494.1 MB 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.001206/2.221, allocations: 208 kB / 0.9509 GB, free: 33.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.016/2.237, allocations: 9.897 MB / 0.9606 GB, free: 23.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.237, allocations: 0.5625 kB / 0.9606 GB, free: 23.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005087/2.242, allocations: 3.605 MB / 0.9641 GB, free: 20.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00679/2.249, allocations: 0.8949 MB / 0.965 GB, free: 19.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/2.29, allocations: 22.23 MB / 0.9867 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/2.305, allocations: 5.737 MB / 0.9923 GB, free: 7.375 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01043/2.315, allocations: 3.025 MB / 0.9952 GB, free: 4.348 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/2.318, allocations: 455.4 kB / 0.9957 GB, free: 3.902 MB / 0.4982 GB Notification: Performance of SimCode: time 9.22e-07/2.318, allocations: 0 / 0.9957 GB, free: 3.902 MB / 0.4982 GB Notification: Performance of Templates: time 0.4378/2.756, allocations: 77.31 MB / 1.071 GB, free: 103.6 MB / 0.4982 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)