Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, 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.001211/0.001211, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.506/1.506, 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.2+maint.om/package.mo): time 0.3299/0.3299, allocations: 39.93 MB / 309.3 MB, free: 9.672 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.001325/0.001325, allocations: 71.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3188/0.4481, allocations: 63.94 MB / 497.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03689/0.485, allocations: 12.8 MB / 0.4986 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01905/0.5041, allocations: 276.4 kB / 0.4989 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007065/0.5113, allocations: 3.024 MB / 0.5018 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008905/0.5203, allocations: 2.472 MB / 0.5042 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.5234, allocations: 0.949 MB / 0.5051 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01906/0.5425, allocations: 10.08 MB / 0.515 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009653/0.5522, allocations: 4.127 MB / 0.519 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/0.5582, allocations: 2.018 MB / 0.521 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.5646, allocations: 3.464 MB / 0.5244 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.566, allocations: 322.1 kB / 0.5247 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.5692, allocations: 1.232 MB / 0.5259 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.5721, allocations: 2.773 MB / 0.5286 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003562/0.5757, allocations: 3.133 MB / 0.5317 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.5858, allocations: 9.645 MB / 0.5411 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5858, allocations: 0 / 0.5411 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5858, allocations: 0 / 0.5411 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003143/0.5861, allocations: 0 / 0.5411 GB, free: 11.25 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01802/0.6041, allocations: 7.308 MB / 0.5482 GB, free: 3.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6042, allocations: 16.02 kB / 0.5482 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.6204, allocations: 3.833 MB / 0.552 GB, free: 0 / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.6315, allocations: 4.264 MB / 0.5561 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.6319, allocations: 324.6 kB / 0.5564 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.6339, allocations: 440 kB / 0.5569 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02818/0.6621, allocations: 15.8 MB / 0.5723 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.6624, allocations: 63.42 kB / 0.5723 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008111/0.6632, allocations: 203.8 kB / 0.5725 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006101/0.6693, allocations: 3.462 MB / 0.5759 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/0.701, allocations: 14.93 MB / 0.5905 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3832/1.084, allocations: 56.12 MB / 0.6453 GB, free: 112.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01819/1.102, allocations: 8.203 MB / 0.6533 GB, free: 111.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006622/1.109, allocations: 4.834 MB / 0.658 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/1.111, allocations: 2.208 MB / 0.6602 GB, free: 107.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.111, allocations: 66.2 kB / 0.6603 GB, free: 107.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 6.281e-06/1.111, allocations: 2.594 kB / 0.6603 GB, free: 107.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1301/1.241, allocations: 40.25 MB / 0.6996 GB, free: 96.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.241, allocations: 122.1 kB / 0.6997 GB, free: 96.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007192/1.248, allocations: 4.366 MB / 0.7039 GB, free: 94.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001703/1.25, allocations: 85.39 kB / 0.704 GB, free: 94.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002895/1.253, allocations: 3.864 MB / 0.7078 GB, free: 91.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002585/1.256, allocations: 1.491 MB / 0.7093 GB, free: 90.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002727/1.258, allocations: 1.586 MB / 0.7108 GB, free: 89.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/1.259, allocations: 305.1 kB / 0.7111 GB, free: 89.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005637/1.264, allocations: 4.091 MB / 0.7151 GB, free: 85.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0083/1.272, allocations: 7.907 MB / 0.7228 GB, free: 75.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.289, allocations: 12.97 MB / 0.7355 GB, free: 60.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/1.289, allocations: 40 kB / 0.7355 GB, free: 60.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03437/1.324, allocations: 14.8 MB / 0.75 GB, free: 45.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/1.324, allocations: 60 kB / 0.75 GB, free: 45.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/1.324, allocations: 132.7 kB / 0.7502 GB, free: 45.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008855/1.333, allocations: 2.93 MB / 0.753 GB, free: 42.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007903/1.341, allocations: 1.833 MB / 0.7548 GB, free: 40.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.361, allocations: 14.85 MB / 0.7693 GB, free: 25.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008606/1.369, allocations: 0.4962 MB / 0.7698 GB, free: 25.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00221/1.372, allocations: 439.9 kB / 0.7702 GB, free: 24.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 943 * Array equations: 6 * 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 {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007373/1.379, allocations: 2.916 MB / 0.7731 GB, free: 21.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.38, allocations: 467 kB / 0.7735 GB, free: 21.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/1.399, allocations: 10.94 MB / 0.7842 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.892e-05/1.399, allocations: 63.98 kB / 0.7843 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.399, allocations: 8 kB / 0.7843 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-05/1.399, allocations: 15.94 kB / 0.7843 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05216/1.451, allocations: 21.79 MB / 0.8056 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/1.451, allocations: 8 kB / 0.8056 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004163/1.455, allocations: 0.6833 MB / 0.8062 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008909/1.464, allocations: 2.736 MB / 0.8089 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/1.466, allocations: 83.92 kB / 0.809 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0225/1.488, allocations: 13.58 MB / 0.8222 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/1.489, allocations: 15.94 kB / 0.8223 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.366/1.855, allocations: 15.56 MB / 0.8375 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003765/1.858, allocations: 1.18 MB / 0.8386 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/1.86, allocations: 80.55 kB / 0.8387 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/1.863, allocations: 313.5 kB / 0.839 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008342/1.864, allocations: 265.4 kB / 0.8392 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/1.864, allocations: 119.2 kB / 0.8393 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005108/1.869, allocations: 2.737 MB / 0.842 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.81e-07/1.869, allocations: 0 / 0.842 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0105/1.88, allocations: 1.696 MB / 0.8437 GB, free: 156.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * 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,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/1.881, allocations: 240.9 kB / 0.8439 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02184/1.903, allocations: 10.07 MB / 0.8537 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-05/1.903, allocations: 5.875 kB / 0.8537 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01107/1.914, allocations: 4.367 MB / 0.858 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009734/1.924, allocations: 0.6692 MB / 0.8587 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04825/1.972, allocations: 19.21 MB / 0.8774 GB, free: 141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/1.984, allocations: 4.62 MB / 0.8819 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008251/1.992, allocations: 2.736 MB / 0.8846 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.994, allocations: 353.3 kB / 0.8849 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.71e-07/1.994, allocations: 0 / 0.8849 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1306/2.125, allocations: 69.76 MB / 0.9531 GB, free: 77.73 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)