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.001221/0.001221, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001243/0.001243, allocations: 177.3 kB / 15.95 MB, free: 216 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3124/0.3124, allocations: 39.99 MB / 310.4 MB, free: 9.641 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.0009208/0.0009209, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1254, allocations: 57.94 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2188/0.3443, allocations: 54.66 MB / 491.4 MB, free: 19.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02276/0.3671, allocations: 12.76 MB / 0.4924 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.3776, allocations: 272.3 kB / 0.4926 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00882/0.3864, allocations: 2.763 MB / 0.4953 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03073/0.4172, allocations: 8.025 MB / 0.5032 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.4217, allocations: 0.8949 MB / 0.504 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02612/0.4478, allocations: 15.82 MB / 0.5195 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007378/0.4553, allocations: 5 MB / 0.5244 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.4584, allocations: 1.596 MB / 0.5259 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.4617, allocations: 2.263 MB / 0.5281 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.4627, allocations: 220 kB / 0.5283 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.4655, allocations: 0.9597 MB / 0.5293 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.4683, allocations: 2.427 MB / 0.5317 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.47, allocations: 1.201 MB / 0.5328 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.4792, allocations: 7.809 MB / 0.5404 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4792, allocations: 0 / 0.5404 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4792, allocations: 0 / 0.5404 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003541/0.4796, allocations: 0 / 0.5404 GB, free: 13.37 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.01499/0.4946, allocations: 6.419 MB / 0.5467 GB, free: 6.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4946, allocations: 16.02 kB / 0.5467 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/0.5279, allocations: 7.074 MB / 0.5536 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.5388, allocations: 4.959 MB / 0.5585 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.5392, allocations: 328.2 kB / 0.5588 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.5407, allocations: 435.6 kB / 0.5592 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/0.5716, allocations: 15.92 MB / 0.5748 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002711/0.5719, allocations: 59.44 kB / 0.5748 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/0.5736, allocations: 195.8 kB / 0.575 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00655/0.5802, allocations: 3.474 MB / 0.5784 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03088/0.6111, allocations: 14.98 MB / 0.593 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2741/0.8853, allocations: 56.14 MB / 0.6479 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.901, allocations: 8.194 MB / 0.6559 GB, free: 107.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.9027, allocations: 2.207 MB / 0.658 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.9027, allocations: 63.77 kB / 0.6581 GB, free: 105.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 6.512e-06/0.9028, allocations: 0 / 0.6581 GB, free: 105.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.115/1.018, allocations: 40.79 MB / 0.6979 GB, free: 94.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/1.018, allocations: 116.1 kB / 0.698 GB, free: 94.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/1.026, allocations: 4.844 MB / 0.7028 GB, free: 93.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.027, allocations: 84.27 kB / 0.7028 GB, free: 92.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.03, allocations: 3.904 MB / 0.7066 GB, free: 89.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.032, allocations: 1.488 MB / 0.7081 GB, free: 88.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.034, allocations: 156.1 kB / 0.7082 GB, free: 88.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007072/1.034, allocations: 0.6392 MB / 0.7089 GB, free: 88.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006361/1.041, allocations: 3.928 MB / 0.7127 GB, free: 86.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008059/1.049, allocations: 7.694 MB / 0.7202 GB, free: 78.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/1.057, allocations: 5.465 MB / 0.7256 GB, free: 73.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/1.057, allocations: 36 kB / 0.7256 GB, free: 73.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.02713/1.084, allocations: 14.18 MB / 0.7394 GB, free: 58.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.085, allocations: 60 kB / 0.7395 GB, free: 58.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/1.085, allocations: 128 kB / 0.7396 GB, free: 58.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007791/1.093, allocations: 2.707 MB / 0.7423 GB, free: 55.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00685/1.099, allocations: 1.778 MB / 0.744 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.117, allocations: 14.55 MB / 0.7582 GB, free: 39.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006964/1.124, allocations: 0.4913 MB / 0.7587 GB, free: 38.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/1.126, allocations: 431.9 kB / 0.7591 GB, free: 38.43 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 (920): * Single equations (assignments): 912 * Array equations: 6 * 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 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006551/1.132, allocations: 2.908 MB / 0.7619 GB, free: 35.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/1.135, allocations: 469.9 kB / 0.7624 GB, free: 35.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/1.155, allocations: 10.55 MB / 0.7727 GB, free: 24.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/1.155, allocations: 66.56 kB / 0.7728 GB, free: 24.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-05/1.155, allocations: 8 kB / 0.7728 GB, free: 24.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-05/1.155, allocations: 17.66 kB / 0.7728 GB, free: 24.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0427/1.198, allocations: 21.44 MB / 0.7937 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.189e-05/1.198, allocations: 12 kB / 0.7937 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/1.202, allocations: 0.685 MB / 0.7944 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0075/1.209, allocations: 2.484 MB / 0.7968 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/1.21, allocations: 79.98 kB / 0.7969 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/1.23, allocations: 13.32 MB / 0.8099 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-05/1.23, allocations: 19.92 kB / 0.8099 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/1.261, allocations: 16.46 MB / 0.826 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2228/1.484, allocations: 1.196 MB / 0.8272 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.486, allocations: 73.25 kB / 0.8272 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003721/1.489, allocations: 311.7 kB / 0.8275 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/1.491, allocations: 259.6 kB / 0.8278 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005655/1.491, allocations: 116.2 kB / 0.8279 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004523/1.496, allocations: 3.094 MB / 0.8309 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.496, allocations: 3.562 kB / 0.8309 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008814/1.505, allocations: 1.675 MB / 0.8326 GB, free: 155.1 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 (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%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/1.506, allocations: 254.3 kB / 0.8328 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.521, allocations: 9.805 MB / 0.8424 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/1.521, allocations: 3.281 kB / 0.8424 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006894/1.528, allocations: 4.286 MB / 0.8466 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/1.533, allocations: 0.6292 MB / 0.8472 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/1.564, allocations: 18.48 MB / 0.8652 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008862/1.573, allocations: 4.746 MB / 0.8699 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009511/1.582, allocations: 2.75 MB / 0.8725 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/1.585, allocations: 355.9 kB / 0.8729 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/1.585, allocations: 4 kB / 0.8729 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1068/1.692, allocations: 66.62 MB / 0.9379 GB, free: 92.64 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: