Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00105/0.00105, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007152/0.007152, allocations: 170 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3156/0.3156, allocations: 38.03 MB / 308.8 MB, free: 10.1 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.0005759/0.0005761, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1189, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2719/0.3909, allocations: 62.32 MB / 496.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02649/0.4174, allocations: 12.74 MB / 0.4977 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01664/0.4341, allocations: 273.9 kB / 0.4979 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.4368, allocations: 0.63 MB / 0.4986 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.4477, allocations: 2.472 MB / 0.501 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.4508, allocations: 0.9471 MB / 0.5019 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.4666, allocations: 10.08 MB / 0.5117 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.4775, allocations: 5.463 MB / 0.5171 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.4822, allocations: 1.788 MB / 0.5188 GB, free: 452 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006774/0.489, allocations: 3.168 MB / 0.5219 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.4913, allocations: 219.7 kB / 0.5221 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004862/0.4962, allocations: 1.134 MB / 0.5232 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005037/0.5013, allocations: 2.642 MB / 0.5258 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006407/0.5077, allocations: 2.976 MB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.5241, allocations: 9.413 MB / 0.5379 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5242, allocations: 4 kB / 0.5379 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5242, allocations: 0 / 0.5379 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003601/0.5246, allocations: 0 / 0.5379 GB, free: 2.203 MB / 398.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.01514/0.5397, allocations: 6.024 MB / 0.5438 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.5398, allocations: 8.031 kB / 0.5438 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.5555, allocations: 3.95 MB / 0.5477 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.5666, allocations: 4.265 MB / 0.5518 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.567, allocations: 324.5 kB / 0.5521 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/0.5692, allocations: 443.9 kB / 0.5526 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/0.6039, allocations: 15.83 MB / 0.568 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.6042, allocations: 59.42 kB / 0.5681 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/0.6059, allocations: 195.8 kB / 0.5683 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006696/0.6127, allocations: 3.482 MB / 0.5717 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/0.6438, allocations: 14.96 MB / 0.5863 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3419/0.9857, allocations: 56.07 MB / 0.641 GB, free: 112.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/1.002, allocations: 8.197 MB / 0.649 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005731/1.008, allocations: 4.833 MB / 0.6537 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.009, allocations: 2.216 MB / 0.6559 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.01, allocations: 66.52 kB / 0.656 GB, free: 109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 5.781e-06/1.01, allocations: 2.516 kB / 0.656 GB, free: 109 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1158/1.125, allocations: 40.26 MB / 0.6953 GB, free: 97.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.125, allocations: 114.9 kB / 0.6954 GB, free: 97.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008894/1.134, allocations: 4.369 MB / 0.6997 GB, free: 96.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.135, allocations: 86.11 kB / 0.6997 GB, free: 96.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002652/1.138, allocations: 3.859 MB / 0.7035 GB, free: 93.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002411/1.141, allocations: 1.496 MB / 0.705 GB, free: 92.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002583/1.143, allocations: 0.6806 MB / 0.7056 GB, free: 91.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/1.143, allocations: 311 kB / 0.7059 GB, free: 91.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006967/1.15, allocations: 4.084 MB / 0.7099 GB, free: 89.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009271/1.16, allocations: 7.907 MB / 0.7177 GB, free: 80.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.175, allocations: 12.97 MB / 0.7303 GB, free: 65.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/1.176, allocations: 41.97 kB / 0.7304 GB, free: 65.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02881/1.204, allocations: 14.79 MB / 0.7448 GB, free: 50.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.205, allocations: 71.98 kB / 0.7449 GB, free: 50.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.205, allocations: 132 kB / 0.745 GB, free: 50.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008164/1.213, allocations: 2.925 MB / 0.7479 GB, free: 47.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006925/1.22, allocations: 1.825 MB / 0.7496 GB, free: 45.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/1.238, allocations: 14.87 MB / 0.7642 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.245, allocations: 0.5034 MB / 0.7647 GB, free: 30.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/1.247, allocations: 439 kB / 0.7651 GB, free: 29.82 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.00558/1.253, allocations: 2.908 MB / 0.7679 GB, free: 26.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.254, allocations: 462 kB / 0.7684 GB, free: 26.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.271, allocations: 10.94 MB / 0.779 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/1.271, allocations: 60 kB / 0.7791 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.271, allocations: 8.5 kB / 0.7791 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/1.271, allocations: 19.92 kB / 0.7791 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03737/1.309, allocations: 21.8 MB / 0.8004 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/1.309, allocations: 12 kB / 0.8004 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.312, allocations: 0.6824 MB / 0.8011 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007628/1.32, allocations: 2.732 MB / 0.8038 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006213/1.32, allocations: 91.05 kB / 0.8038 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.338, allocations: 13.58 MB / 0.8171 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.338, allocations: 15.94 kB / 0.8171 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2833/1.621, allocations: 15.57 MB / 0.8323 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00346/1.625, allocations: 1.181 MB / 0.8335 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.626, allocations: 80.52 kB / 0.8335 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/1.63, allocations: 317.9 kB / 0.8339 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007633/1.63, allocations: 270.6 kB / 0.8341 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/1.631, allocations: 109.6 kB / 0.8342 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003597/1.634, allocations: 2.746 MB / 0.8369 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.634, allocations: 0 / 0.8369 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006292/1.641, allocations: 1.692 MB / 0.8385 GB, free: 155.2 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.0007251/1.641, allocations: 241.4 kB / 0.8388 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.658, allocations: 10.06 MB / 0.8486 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.63e-05/1.658, allocations: 2.562 kB / 0.8486 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0103/1.668, allocations: 4.363 MB / 0.8529 GB, free: 150 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01375/1.682, allocations: 0.6828 MB / 0.8535 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/1.719, allocations: 19.33 MB / 0.8724 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/1.729, allocations: 4.624 MB / 0.8769 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0113/1.741, allocations: 2.73 MB / 0.8796 GB, free: 138 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/1.744, allocations: 350.2 kB / 0.8799 GB, free: 138 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/1.744, allocations: 0 / 0.8799 GB, free: 138 MB / 0.5137 GB Notification: Performance of Templates: time 0.1073/1.851, allocations: 68.23 MB / 0.9466 GB, free: 84.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) Environment - environmentSimulation: