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.006579/0.006579, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001434/0.001434, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.503/1.503, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3478/0.3478, allocations: 38 MB / 307.9 MB, free: 10.01 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.001723/0.001723, allocations: 75.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3862, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.02018/0.4065, allocations: 19.83 MB / 0.4974 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.423, allocations: 5.947 MB / 0.5032 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006632/0.4297, allocations: 140.2 kB / 0.5034 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.4426, allocations: 6.361 MB / 0.5096 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01792/0.4606, allocations: 3.232 MB / 0.5127 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007393/0.468, allocations: 1.6 MB / 0.5143 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02453/0.4926, allocations: 9.591 MB / 0.5236 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.5057, allocations: 8.247 MB / 0.5317 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008643/0.5144, allocations: 3.369 MB / 0.535 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008383/0.5228, allocations: 4.642 MB / 0.5395 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00326/0.5261, allocations: 0.75 MB / 0.5403 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006094/0.5322, allocations: 1.748 MB / 0.542 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007002/0.5393, allocations: 4.244 MB / 0.5461 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009713/0.549, allocations: 4.646 MB / 0.5506 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02114/0.5702, allocations: 14.42 MB / 0.5647 GB, free: 10.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.5703, allocations: 7.938 kB / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5703, allocations: 0 / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006062/0.5709, allocations: 0 / 0.5647 GB, free: 10.43 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02931/0.6002, allocations: 9.749 MB / 0.5743 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.6003, allocations: 15.89 kB / 0.5743 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/0.621, allocations: 3.675 MB / 0.5779 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/0.6392, allocations: 6.577 MB / 0.5843 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.6397, allocations: 484.8 kB / 0.5847 GB, free: 5.746 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/0.643, allocations: 0.648 MB / 0.5854 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/0.6837, allocations: 19.12 MB / 0.6041 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/0.6841, allocations: 87.2 kB / 0.6041 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.6852, allocations: 303.7 kB / 0.6044 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006233/0.6914, allocations: 3.418 MB / 0.6078 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03815/0.7296, allocations: 16.17 MB / 0.6236 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6654/1.395, allocations: 70.2 MB / 0.6921 GB, free: 71.43 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.419, allocations: 8.485 MB / 0.7004 GB, free: 68.29 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/1.425, allocations: 4.542 MB / 0.7048 GB, free: 65.84 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/1.425, allocations: 0.6597 MB / 0.7055 GB, free: 65.21 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.426, allocations: 64.59 kB / 0.7055 GB, free: 65.16 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=307): time 4.999e-06/1.426, allocations: 0 / 0.7055 GB, free: 65.16 MB / 0.4982 GB Notification: Performance of matching and sorting (n=331): time 0.08242/1.508, allocations: 35.01 MB / 0.7397 GB, free: 38.48 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/1.508, allocations: 299.6 kB / 0.74 GB, free: 38.13 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0098/1.518, allocations: 7.642 MB / 0.7475 GB, free: 30.51 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.519, allocations: 77.06 kB / 0.7475 GB, free: 30.43 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/1.522, allocations: 5.496 MB / 0.7529 GB, free: 24.94 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/1.524, allocations: 1.253 MB / 0.7541 GB, free: 23.7 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/1.526, allocations: 2.034 MB / 0.7561 GB, free: 21.65 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/1.526, allocations: 309 kB / 0.7564 GB, free: 21.35 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.531, allocations: 4.037 MB / 0.7604 GB, free: 17.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006839/1.538, allocations: 9.59 MB / 0.7697 GB, free: 5.008 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/1.554, allocations: 14.55 MB / 0.7839 GB, free: 3.758 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/1.555, allocations: 56 kB / 0.784 GB, free: 3.703 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03497/1.59, allocations: 15.48 MB / 0.7991 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/1.59, allocations: 84 kB / 0.7992 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004078/1.59, allocations: 192 kB / 0.7994 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/1.597, allocations: 2.302 MB / 0.8016 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008831/1.606, allocations: 2.339 MB / 0.8039 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/1.626, allocations: 16.49 MB / 0.82 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009444/1.636, allocations: 0.5677 MB / 0.8205 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.638, allocations: 0.5625 MB / 0.8211 GB, free: 13.14 MB / 0.5607 GB 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.008023/1.646, allocations: 3.741 MB / 0.8248 GB, free: 9.387 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/1.648, allocations: 0.6517 MB / 0.8254 GB, free: 8.727 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/1.666, allocations: 7.879 MB / 0.8331 GB, free: 0.8086 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-05/1.666, allocations: 38.11 kB / 0.8331 GB, free: 0.7734 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/1.666, allocations: 8 kB / 0.8331 GB, free: 0.7656 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-05/1.666, allocations: 19.94 kB / 0.8331 GB, free: 0.7461 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/1.71, allocations: 16.91 MB / 0.8497 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/1.71, allocations: 4 kB / 0.8497 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/1.714, allocations: 0.593 MB / 0.8502 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006424/1.72, allocations: 1.971 MB / 0.8522 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008174/1.721, allocations: 71.92 kB / 0.8522 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.337/2.058, allocations: 15.31 MB / 0.8672 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/2.058, allocations: 3.312 kB / 0.8672 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/2.081, allocations: 12.26 MB / 0.8792 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004318/2.086, allocations: 1.255 MB / 0.8804 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/2.087, allocations: 61.98 kB / 0.8804 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/2.091, allocations: 228.9 kB / 0.8807 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/2.091, allocations: 191.3 kB / 0.8808 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/2.092, allocations: 88.48 kB / 0.8809 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008704/2.1, allocations: 4.89 MB / 0.8857 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/2.1, allocations: 0 / 0.8857 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0112/2.112, allocations: 1.953 MB / 0.8876 GB, free: 189.5 MB / 0.5919 GB 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.0008477/2.112, allocations: 209.8 kB / 0.8878 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01798/2.13, allocations: 9.928 MB / 0.8975 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/2.131, allocations: 0 / 0.8975 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0067/2.137, allocations: 3.601 MB / 0.901 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006262/2.144, allocations: 0.959 MB / 0.902 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/2.174, allocations: 18.24 MB / 0.9198 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/2.186, allocations: 5.731 MB / 0.9254 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008759/2.195, allocations: 3.029 MB / 0.9283 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002544/2.197, allocations: 443.4 kB / 0.9288 GB, free: 167 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/2.197, allocations: 4 kB / 0.9288 GB, free: 167 MB / 0.5919 GB Notification: Performance of Templates: time 0.1275/2.325, allocations: 74.92 MB / 1.002 GB, free: 92.31 MB / 0.5919 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)