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.0007781/0.0007781, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009093/0.0009095, allocations: 172.7 kB / 15.95 MB, free: 208 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.328 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.331/0.331, allocations: 38.03 MB / 308.4 MB, free: 10.68 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.0005682/0.0005684, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 57.53 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2814/0.4119, allocations: 66.42 MB / 0.4887 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0302/0.4422, allocations: 13.81 MB / 0.5021 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01585/0.4581, allocations: 321.2 kB / 0.5024 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.4713, allocations: 3.482 MB / 0.5059 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03549/0.5068, allocations: 10.29 MB / 0.5159 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.5115, allocations: 0.7923 MB / 0.5167 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04584/0.5573, allocations: 35 MB / 0.5508 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008266/0.5656, allocations: 5.49 MB / 0.5562 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.5688, allocations: 1.689 MB / 0.5579 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.5721, allocations: 2.637 MB / 0.5604 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.5727, allocations: 184 kB / 0.5606 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.5748, allocations: 1.092 MB / 0.5617 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002106/0.577, allocations: 2.303 MB / 0.5639 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.5781, allocations: 1.084 MB / 0.565 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006793/0.5849, allocations: 7.19 MB / 0.572 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.585, allocations: 0 / 0.572 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.585, allocations: 4 kB / 0.572 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002128/0.5852, allocations: 0 / 0.572 GB, free: 14.89 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.01013/0.5953, allocations: 5.325 MB / 0.5772 GB, free: 9.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5954, allocations: 8.031 kB / 0.5772 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.6062, allocations: 2.699 MB / 0.5799 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009191/0.6155, allocations: 3.877 MB / 0.5836 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.6159, allocations: 303.5 kB / 0.5839 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.6175, allocations: 399.6 kB / 0.5843 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/0.6481, allocations: 12.6 MB / 0.5966 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003519/0.6485, allocations: 71.41 kB / 0.5967 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.6503, allocations: 191.8 kB / 0.5969 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004799/0.6551, allocations: 2.401 MB / 0.5992 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.6793, allocations: 10.51 MB / 0.6095 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2822/0.9615, allocations: 48.81 MB / 0.6571 GB, free: 114.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009366/0.9709, allocations: 4.792 MB / 0.6618 GB, free: 113.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.9736, allocations: 2.437 MB / 0.6642 GB, free: 113.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009205/0.9828, allocations: 7.178 MB / 0.6712 GB, free: 110.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.9829, allocations: 49.19 kB / 0.6713 GB, free: 110.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.22e-06/0.9829, allocations: 0 / 0.6713 GB, free: 110.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04783/1.031, allocations: 17.96 MB / 0.6888 GB, free: 103.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/1.031, allocations: 202.3 kB / 0.689 GB, free: 103.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.043, allocations: 5.805 MB / 0.6947 GB, free: 101.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005073/1.044, allocations: 52.05 kB / 0.6947 GB, free: 101.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00326/1.047, allocations: 3.96 MB / 0.6986 GB, free: 98.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.048, allocations: 0.7561 MB / 0.6993 GB, free: 97.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008722/1.049, allocations: 148.9 kB / 0.6994 GB, free: 97.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006139/1.05, allocations: 0.6223 MB / 0.7001 GB, free: 96.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/1.054, allocations: 2.568 MB / 0.7026 GB, free: 96.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006916/1.061, allocations: 7.016 MB / 0.7094 GB, free: 89.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005974/1.067, allocations: 4.146 MB / 0.7135 GB, free: 87.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.067, allocations: 44.78 kB / 0.7135 GB, free: 87.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02033/1.087, allocations: 10.33 MB / 0.7236 GB, free: 83.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/1.088, allocations: 72 kB / 0.7237 GB, free: 83.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003926/1.088, allocations: 156.9 kB / 0.7238 GB, free: 82.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.091, allocations: 1.243 MB / 0.725 GB, free: 81.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/1.097, allocations: 1.704 MB / 0.7267 GB, free: 79.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/1.104, allocations: 7.757 MB / 0.7343 GB, free: 71.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006649/1.111, allocations: 411.4 kB / 0.7347 GB, free: 71.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.112, allocations: 451.9 kB / 0.7351 GB, free: 71.08 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.004984/1.117, allocations: 2.626 MB / 0.7377 GB, free: 68.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.119, allocations: 481.7 kB / 0.7381 GB, free: 67.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/1.125, allocations: 3.965 MB / 0.742 GB, free: 63.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.125, allocations: 23.95 kB / 0.742 GB, free: 63.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.125, allocations: 9.125 kB / 0.742 GB, free: 63.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.125, allocations: 7.969 kB / 0.742 GB, free: 63.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.143, allocations: 9.284 MB / 0.7511 GB, free: 54.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.143, allocations: 7.938 kB / 0.7511 GB, free: 54.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.145, allocations: 359.7 kB / 0.7514 GB, free: 54.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.147, allocations: 0.9848 MB / 0.7524 GB, free: 53.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.147, allocations: 35.98 kB / 0.7524 GB, free: 53.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006642/1.154, allocations: 7.104 MB / 0.7594 GB, free: 45.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.154, allocations: 4 kB / 0.7594 GB, free: 45.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008959/1.163, allocations: 6.72 MB / 0.7659 GB, free: 39.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/1.166, allocations: 0.8499 MB / 0.7668 GB, free: 38.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/1.168, allocations: 39.98 kB / 0.7668 GB, free: 38.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.171, allocations: 112 kB / 0.7669 GB, free: 38.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/1.171, allocations: 113.1 kB / 0.767 GB, free: 37.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.172, allocations: 51.98 kB / 0.7671 GB, free: 37.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00641/1.178, allocations: 3.706 MB / 0.7707 GB, free: 34.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/1.178, allocations: 3.938 kB / 0.7707 GB, free: 34.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007737/1.186, allocations: 1.271 MB / 0.7719 GB, free: 32.93 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.0005982/1.187, allocations: 161.7 kB / 0.7721 GB, free: 32.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009089/1.196, allocations: 6.19 MB / 0.7781 GB, free: 26.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.196, allocations: 7.281 kB / 0.7781 GB, free: 26.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.198, allocations: 1.874 MB / 0.78 GB, free: 24.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/1.204, allocations: 0.5929 MB / 0.7806 GB, free: 24.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/1.228, allocations: 13.78 MB / 0.794 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005948/1.234, allocations: 4.021 MB / 0.7979 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005903/1.24, allocations: 2.279 MB / 0.8002 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.241, allocations: 319.4 kB / 0.8005 GB, free: 3.598 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/1.241, allocations: 0 / 0.8005 GB, free: 3.598 MB / 494.1 MB Notification: Performance of Templates: time 0.3017/1.543, allocations: 45.6 MB / 0.845 GB, free: 140.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: