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.0008463/0.0008463, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005501/0.005501, allocations: 171 kB / 16.27 MB, free: 6.332 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.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3248/0.3248, allocations: 38.04 MB / 308.8 MB, free: 10.37 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.0005631/0.0005631, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2752/0.396, allocations: 71.43 MB / 0.4941 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.4279, allocations: 14.43 MB / 0.5082 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01581/0.4438, allocations: 312.7 kB / 0.5085 GB, free: 384 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.446, allocations: 0.518 MB / 0.509 GB, free: 172 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008192/0.4543, allocations: 2.241 MB / 0.5112 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.4569, allocations: 0.8108 MB / 0.512 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01722/0.4741, allocations: 8.549 MB / 0.5204 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.4871, allocations: 6.202 MB / 0.5264 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/0.4916, allocations: 1.547 MB / 0.5279 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005331/0.497, allocations: 2.652 MB / 0.5305 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.4987, allocations: 185.4 kB / 0.5307 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.5029, allocations: 1.308 MB / 0.532 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003871/0.5068, allocations: 2.354 MB / 0.5343 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005141/0.5119, allocations: 2.618 MB / 0.5368 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.5231, allocations: 8.708 MB / 0.5453 GB, free: 10.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5231, allocations: 7.938 kB / 0.5453 GB, free: 10.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5231, allocations: 0 / 0.5453 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003515/0.5235, allocations: 0 / 0.5453 GB, free: 10.48 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.01299/0.5365, allocations: 5.247 MB / 0.5505 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5366, allocations: 11.97 kB / 0.5505 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.549, allocations: 2.7 MB / 0.5531 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008388/0.5574, allocations: 3.953 MB / 0.557 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.5577, allocations: 300 kB / 0.5573 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.5591, allocations: 403.7 kB / 0.5576 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.5823, allocations: 12.64 MB / 0.57 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.5825, allocations: 59.52 kB / 0.57 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.583, allocations: 191.8 kB / 0.5702 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003825/0.5868, allocations: 2.397 MB / 0.5726 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.6083, allocations: 10.56 MB / 0.5829 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06885/0.6772, allocations: 48.84 MB / 0.6306 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2464/0.9236, allocations: 4.8 MB / 0.6353 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.9271, allocations: 2.442 MB / 0.6376 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.9388, allocations: 7.174 MB / 0.6446 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.9388, allocations: 54.09 kB / 0.6447 GB, free: 141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.949e-06/0.9389, allocations: 0 / 0.6447 GB, free: 141 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04888/0.9877, allocations: 17.98 MB / 0.6623 GB, free: 134.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.9879, allocations: 200.9 kB / 0.6625 GB, free: 134.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/1.003, allocations: 5.834 MB / 0.6681 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005489/1.004, allocations: 59.17 kB / 0.6682 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003977/1.008, allocations: 3.945 MB / 0.6721 GB, free: 129.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.009, allocations: 0.7654 MB / 0.6728 GB, free: 128.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/1.012, allocations: 0.6379 MB / 0.6734 GB, free: 128.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/1.012, allocations: 306.1 kB / 0.6737 GB, free: 128.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005915/1.018, allocations: 2.598 MB / 0.6763 GB, free: 127.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008519/1.026, allocations: 7.046 MB / 0.6831 GB, free: 120.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.039, allocations: 10.34 MB / 0.6932 GB, free: 111.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002825/1.039, allocations: 44.94 kB / 0.6933 GB, free: 111.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02073/1.06, allocations: 10.4 MB / 0.7034 GB, free: 107.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/1.06, allocations: 75.94 kB / 0.7035 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003874/1.061, allocations: 160.1 kB / 0.7037 GB, free: 107.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.064, allocations: 1.229 MB / 0.7049 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00539/1.069, allocations: 1.705 MB / 0.7065 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/1.078, allocations: 7.771 MB / 0.7141 GB, free: 98.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009216/1.087, allocations: 404.5 kB / 0.7145 GB, free: 97.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.088, allocations: 444.5 kB / 0.7149 GB, free: 97.31 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.006247/1.094, allocations: 2.63 MB / 0.7175 GB, free: 95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.096, allocations: 477.8 kB / 0.7179 GB, free: 94.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/1.103, allocations: 3.985 MB / 0.7218 GB, free: 90.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/1.103, allocations: 20 kB / 0.7219 GB, free: 90.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.103, allocations: 4 kB / 0.7219 GB, free: 90.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.103, allocations: 7.969 kB / 0.7219 GB, free: 90.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.122, allocations: 9.302 MB / 0.7309 GB, free: 81.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.122, allocations: 6.812 kB / 0.731 GB, free: 81.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.123, allocations: 355.4 kB / 0.7313 GB, free: 80.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.126, allocations: 0.9895 MB / 0.7323 GB, free: 79.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.126, allocations: 39.98 kB / 0.7323 GB, free: 79.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006749/1.133, allocations: 7.111 MB / 0.7392 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.133, allocations: 3.984 kB / 0.7392 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008999/1.142, allocations: 6.734 MB / 0.7458 GB, free: 65.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/1.145, allocations: 0.8383 MB / 0.7466 GB, free: 64.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.146, allocations: 31.98 kB / 0.7467 GB, free: 64.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.148, allocations: 123.8 kB / 0.7468 GB, free: 64.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/1.149, allocations: 109.1 kB / 0.7469 GB, free: 64.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.149, allocations: 58.95 kB / 0.747 GB, free: 64.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007018/1.156, allocations: 3.729 MB / 0.7506 GB, free: 60.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.82e-07/1.156, allocations: 4 kB / 0.7506 GB, free: 60.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008838/1.165, allocations: 1.267 MB / 0.7518 GB, free: 59.46 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.0006633/1.166, allocations: 168.8 kB / 0.752 GB, free: 59.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00948/1.175, allocations: 6.221 MB / 0.7581 GB, free: 53.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.175, allocations: 0 / 0.7581 GB, free: 53.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/1.178, allocations: 1.896 MB / 0.7599 GB, free: 51.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00758/1.185, allocations: 0.5836 MB / 0.7605 GB, free: 50.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/1.208, allocations: 14.39 MB / 0.7745 GB, free: 36.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/1.213, allocations: 4.026 MB / 0.7785 GB, free: 32.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005318/1.218, allocations: 2.287 MB / 0.7807 GB, free: 29.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.219, allocations: 311.4 kB / 0.781 GB, free: 29.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.614e-06/1.219, allocations: 4 kB / 0.781 GB, free: 29.48 MB / 494.1 MB Notification: Performance of Templates: time 0.2912/1.51, allocations: 46.61 MB / 0.8265 GB, free: 136.2 MB / 0.4981 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: