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.001798/0.001797, 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.002273/0.002273, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.508/1.508, 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.3012/0.3012, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001408/0.001409, allocations: 63.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 56.48 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.325/0.4708, allocations: 73.18 MB / 0.4924 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03531/0.5062, allocations: 14.49 MB / 0.5065 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01988/0.5261, allocations: 316.8 kB / 0.5068 GB, free: 168 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008095/0.5343, allocations: 3.749 MB / 0.5105 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.5433, allocations: 2.226 MB / 0.5127 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.5465, allocations: 0.9363 MB / 0.5136 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01538/0.5619, allocations: 8.548 MB / 0.5219 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007747/0.5697, allocations: 4.632 MB / 0.5265 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.5746, allocations: 1.846 MB / 0.5283 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006078/0.5807, allocations: 3.023 MB / 0.5312 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.5822, allocations: 308.1 kB / 0.5315 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.5861, allocations: 1.432 MB / 0.5329 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.589, allocations: 2.521 MB / 0.5354 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004126/0.5932, allocations: 2.831 MB / 0.5381 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6047, allocations: 8.96 MB / 0.5469 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6047, allocations: 0 / 0.5469 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6047, allocations: 0 / 0.5469 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003421/0.6051, allocations: 0 / 0.5469 GB, free: 6.496 MB / 414.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.01664/0.6217, allocations: 6.393 MB / 0.5531 GB, free: 28 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.6218, allocations: 8.031 kB / 0.5531 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.634, allocations: 2.631 MB / 0.5557 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.6443, allocations: 3.953 MB / 0.5596 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.6446, allocations: 300.2 kB / 0.5599 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.6466, allocations: 407.5 kB / 0.5602 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/0.6733, allocations: 12.61 MB / 0.5726 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.6735, allocations: 55.53 kB / 0.5726 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006755/0.6742, allocations: 195.8 kB / 0.5728 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004199/0.6784, allocations: 2.405 MB / 0.5752 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.7023, allocations: 10.54 MB / 0.5854 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/1.132, allocations: 48.8 MB / 0.6331 GB, free: 115.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/1.143, allocations: 4.791 MB / 0.6378 GB, free: 115.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/1.147, allocations: 2.447 MB / 0.6402 GB, free: 115 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/1.161, allocations: 7.18 MB / 0.6472 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/1.161, allocations: 51.81 kB / 0.6472 GB, free: 113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.382e-06/1.161, allocations: 0 / 0.6472 GB, free: 113 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.0507/1.212, allocations: 18 MB / 0.6648 GB, free: 106.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.212, allocations: 206.2 kB / 0.665 GB, free: 106.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/1.225, allocations: 5.839 MB / 0.6707 GB, free: 104.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006154/1.226, allocations: 56.5 kB / 0.6708 GB, free: 104.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0045/1.231, allocations: 3.944 MB / 0.6746 GB, free: 101.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.232, allocations: 0.7696 MB / 0.6754 GB, free: 100.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002845/1.235, allocations: 1.506 MB / 0.6768 GB, free: 99.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/1.235, allocations: 301.1 kB / 0.6771 GB, free: 99.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/1.241, allocations: 2.605 MB / 0.6797 GB, free: 98.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008864/1.25, allocations: 7.039 MB / 0.6865 GB, free: 91.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/1.262, allocations: 10.34 MB / 0.6966 GB, free: 83.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002309/1.263, allocations: 44.34 kB / 0.6967 GB, free: 83.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.0229/1.286, allocations: 10.41 MB / 0.7068 GB, free: 79.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/1.286, allocations: 74.48 kB / 0.7069 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002789/1.286, allocations: 159.5 kB / 0.7071 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/1.29, allocations: 1.221 MB / 0.7083 GB, free: 79.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006253/1.296, allocations: 1.704 MB / 0.7099 GB, free: 78.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009392/1.305, allocations: 7.773 MB / 0.7175 GB, free: 71.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009691/1.315, allocations: 401.8 kB / 0.7179 GB, free: 70.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.317, allocations: 450.9 kB / 0.7183 GB, free: 70.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008795/1.326, allocations: 2.626 MB / 0.7209 GB, free: 67.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002386/1.328, allocations: 481.8 kB / 0.7213 GB, free: 67.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.339, allocations: 3.978 MB / 0.7252 GB, free: 63.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/1.339, allocations: 23.94 kB / 0.7253 GB, free: 63.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/1.339, allocations: 8.938 kB / 0.7253 GB, free: 63.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/1.339, allocations: 7.969 kB / 0.7253 GB, free: 63.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.362, allocations: 9.296 MB / 0.7344 GB, free: 53.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/1.362, allocations: 4 kB / 0.7344 GB, free: 53.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.363, allocations: 359.4 kB / 0.7347 GB, free: 53.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/1.366, allocations: 0.9915 MB / 0.7357 GB, free: 52.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/1.366, allocations: 35.98 kB / 0.7357 GB, free: 52.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/1.374, allocations: 7.095 MB / 0.7426 GB, free: 45.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.374, allocations: 7.938 kB / 0.7426 GB, free: 45.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009649/1.383, allocations: 6.738 MB / 0.7492 GB, free: 38.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/1.386, allocations: 0.8344 MB / 0.75 GB, free: 37.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.388, allocations: 39.44 kB / 0.7501 GB, free: 37.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.39, allocations: 115.8 kB / 0.7502 GB, free: 37.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/1.39, allocations: 113 kB / 0.7503 GB, free: 37.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.39, allocations: 52 kB / 0.7503 GB, free: 37.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005573/1.396, allocations: 3.729 MB / 0.754 GB, free: 33.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.396, allocations: 8 kB / 0.754 GB, free: 33.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009424/1.405, allocations: 1.264 MB / 0.7552 GB, free: 32.12 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.00059/1.406, allocations: 175.6 kB / 0.7554 GB, free: 31.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.417, allocations: 6.206 MB / 0.7614 GB, free: 25.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.417, allocations: 0.625 kB / 0.7614 GB, free: 25.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.419, allocations: 1.887 MB / 0.7633 GB, free: 23.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/1.424, allocations: 0.587 MB / 0.7639 GB, free: 23.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.446, allocations: 14.3 MB / 0.7778 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00408/1.45, allocations: 4.017 MB / 0.7818 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005742/1.456, allocations: 2.287 MB / 0.784 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.457, allocations: 311.4 kB / 0.7843 GB, free: 2.277 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.457, allocations: 0 / 0.7843 GB, free: 2.277 MB / 494.1 MB Notification: Performance of Templates: time 0.1052/1.562, allocations: 47.31 MB / 0.8305 GB, free: 3.043 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.makefile (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)