Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008269/0.0008268, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009784/0.0009784, allocations: 168.7 kB / 15.95 MB, free: 204 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.536/1.536, 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.2+maint.om/package.mo): time 0.3725/0.3725, allocations: 40 MB / 310.4 MB, free: 10.02 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.000645/0.0006452, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1426, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3501/0.4928, allocations: 66.42 MB / 0.4914 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03756/0.5304, allocations: 13.81 MB / 0.5049 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01919/0.5497, allocations: 314.1 kB / 0.5052 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0146/0.5643, allocations: 3.487 MB / 0.5086 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03938/0.6037, allocations: 10.3 MB / 0.5187 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.6092, allocations: 0.787 MB / 0.5194 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05186/0.6611, allocations: 34.99 MB / 0.5536 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.6713, allocations: 5.498 MB / 0.559 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.6755, allocations: 1.689 MB / 0.5606 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.6803, allocations: 2.629 MB / 0.5632 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009429/0.6813, allocations: 184 kB / 0.5634 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.6841, allocations: 1.096 MB / 0.5644 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.6869, allocations: 2.306 MB / 0.5667 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6884, allocations: 1.08 MB / 0.5678 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008825/0.6973, allocations: 7.198 MB / 0.5748 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.6973, allocations: 0 / 0.5748 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6973, allocations: 0 / 0.5748 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003331/0.6977, allocations: 0 / 0.5748 GB, free: 10.77 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01431/0.712, allocations: 5.321 MB / 0.58 GB, free: 5.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7121, allocations: 11.97 kB / 0.58 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.7239, allocations: 2.699 MB / 0.5826 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.7341, allocations: 3.885 MB / 0.5864 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.7344, allocations: 295.6 kB / 0.5867 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.7359, allocations: 403.7 kB / 0.5871 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/0.7617, allocations: 12.6 MB / 0.5994 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.7619, allocations: 63.42 kB / 0.5995 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006044/0.7625, allocations: 191.8 kB / 0.5996 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004072/0.7666, allocations: 2.405 MB / 0.602 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/0.7897, allocations: 10.51 MB / 0.6123 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.378/1.168, allocations: 48.8 MB / 0.6599 GB, free: 113.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/1.179, allocations: 4.8 MB / 0.6646 GB, free: 112.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/1.183, allocations: 2.42 MB / 0.667 GB, free: 111.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.195, allocations: 7.181 MB / 0.674 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.195, allocations: 57.66 kB / 0.674 GB, free: 108.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.742e-06/1.196, allocations: 0 / 0.674 GB, free: 108.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05068/1.246, allocations: 17.95 MB / 0.6916 GB, free: 101.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.246, allocations: 207.3 kB / 0.6918 GB, free: 101.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.259, allocations: 5.807 MB / 0.6974 GB, free: 99.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005953/1.26, allocations: 52.58 kB / 0.6975 GB, free: 99.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00316/1.263, allocations: 3.95 MB / 0.7013 GB, free: 96.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.264, allocations: 0.7686 MB / 0.7021 GB, free: 95.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/1.265, allocations: 144.9 kB / 0.7022 GB, free: 95.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003902/1.265, allocations: 0.617 MB / 0.7028 GB, free: 94.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/1.269, allocations: 2.57 MB / 0.7053 GB, free: 94.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006302/1.276, allocations: 7.018 MB / 0.7122 GB, free: 87.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/1.282, allocations: 4.142 MB / 0.7162 GB, free: 85.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.482e-05/1.282, allocations: 45.22 kB / 0.7163 GB, free: 85.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02035/1.303, allocations: 10.34 MB / 0.7264 GB, free: 79.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003241/1.303, allocations: 75.47 kB / 0.7265 GB, free: 79.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004744/1.303, allocations: 160 kB / 0.7266 GB, free: 79.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003526/1.307, allocations: 1.248 MB / 0.7278 GB, free: 77.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006005/1.313, allocations: 1.7 MB / 0.7295 GB, free: 76.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/1.322, allocations: 7.754 MB / 0.7371 GB, free: 68.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007732/1.33, allocations: 414.9 kB / 0.7375 GB, free: 67.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.332, allocations: 444 kB / 0.7379 GB, free: 67.32 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 (904): * Single equations (assignments): 897 * 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 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006885/1.338, allocations: 2.619 MB / 0.7404 GB, free: 64.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.34, allocations: 488.7 kB / 0.7409 GB, free: 64.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008014/1.348, allocations: 3.967 MB / 0.7448 GB, free: 60.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/1.348, allocations: 20 kB / 0.7448 GB, free: 60.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.479e-05/1.349, allocations: 8 kB / 0.7448 GB, free: 60.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/1.349, allocations: 7.969 kB / 0.7448 GB, free: 60.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/1.375, allocations: 9.283 MB / 0.7539 GB, free: 50.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/1.375, allocations: 4 kB / 0.7539 GB, free: 50.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.377, allocations: 359.8 kB / 0.7542 GB, free: 50.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/1.38, allocations: 0.994 MB / 0.7552 GB, free: 49.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003868/1.38, allocations: 35.98 kB / 0.7552 GB, free: 49.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008122/1.388, allocations: 7.098 MB / 0.7622 GB, free: 42.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.388, allocations: 8.641 kB / 0.7622 GB, free: 42.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.399, allocations: 6.718 MB / 0.7687 GB, free: 35.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003299/1.403, allocations: 0.8461 MB / 0.7695 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/1.405, allocations: 43.98 kB / 0.7696 GB, free: 34.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/1.408, allocations: 111.8 kB / 0.7697 GB, free: 34.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/1.408, allocations: 109.1 kB / 0.7698 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.409, allocations: 56.05 kB / 0.7699 GB, free: 34.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007765/1.416, allocations: 3.71 MB / 0.7735 GB, free: 30.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.416, allocations: 0 / 0.7735 GB, free: 30.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01093/1.427, allocations: 1.271 MB / 0.7747 GB, free: 29.17 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.0008881/1.428, allocations: 161.5 kB / 0.7749 GB, free: 29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.439, allocations: 6.186 MB / 0.7809 GB, free: 22.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.439, allocations: 8.172 kB / 0.7809 GB, free: 22.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/1.443, allocations: 1.881 MB / 0.7828 GB, free: 20.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007801/1.45, allocations: 0.5881 MB / 0.7833 GB, free: 20.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/1.48, allocations: 13.77 MB / 0.7968 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/1.484, allocations: 4.024 MB / 0.8007 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005453/1.49, allocations: 2.279 MB / 0.8029 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000995/1.491, allocations: 323.4 kB / 0.8032 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/1.491, allocations: 0 / 0.8032 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.3828/1.874, allocations: 45.6 MB / 0.8478 GB, free: 139.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: