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.001438/0.001438, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.4063/0.4063, allocations: 39.93 MB / 309.7 MB, free: 9.227 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.001787/0.001787, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02089/0.184, allocations: 18.6 MB / 453.1 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3206/0.5046, allocations: 5.339 MB / 458.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.5098, allocations: 110.5 kB / 458.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006213/0.516, allocations: 3.075 MB / 461.6 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008351/0.5244, allocations: 2.629 MB / 464.2 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.5273, allocations: 1.025 MB / 465.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.5383, allocations: 7.405 MB / 472.7 MB, free: 33.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008134/0.5464, allocations: 4.253 MB / 476.9 MB, free: 31.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005846/0.5523, allocations: 2.29 MB / 479.2 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005793/0.5582, allocations: 3.278 MB / 482.5 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.5605, allocations: 457.3 kB / 482.9 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.5658, allocations: 1.293 MB / 484.2 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006467/0.5723, allocations: 2.876 MB / 487.1 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.583, allocations: 3.262 MB / 490.4 MB, free: 26.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02351/0.6066, allocations: 9.79 MB / 0.4884 GB, free: 22.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.6067, allocations: 0 / 0.4884 GB, free: 22.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.6067, allocations: 0 / 0.4884 GB, free: 22.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008532/0.6075, allocations: 0 / 0.4884 GB, free: 22.51 MB / 382.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.03426/0.6418, allocations: 7.306 MB / 0.4956 GB, free: 17.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6419, allocations: 13.2 kB / 0.4956 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.6597, allocations: 3.835 MB / 0.4993 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/0.6745, allocations: 4.269 MB / 0.5035 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.6749, allocations: 327.2 kB / 0.5038 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/0.6777, allocations: 436.3 kB / 0.5042 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/0.7131, allocations: 15.8 MB / 0.5197 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/0.7135, allocations: 63.48 kB / 0.5197 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.7148, allocations: 203.6 kB / 0.5199 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00751/0.7223, allocations: 3.47 MB / 0.5233 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03839/0.7607, allocations: 14.92 MB / 0.5379 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1169/0.8777, allocations: 56.11 MB / 0.5927 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/0.8987, allocations: 8.205 MB / 0.6007 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008141/0.9069, allocations: 4.842 MB / 0.6054 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/0.9092, allocations: 2.213 MB / 0.6076 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.9093, allocations: 65.08 kB / 0.6076 GB, free: 2.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=367): time 7.895e-06/0.9093, allocations: 0 / 0.6076 GB, free: 2.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=419): time 0.5012/1.41, allocations: 40.25 MB / 0.6469 GB, free: 140.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/1.411, allocations: 114.4 kB / 0.6471 GB, free: 140.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00871/1.419, allocations: 4.369 MB / 0.6513 GB, free: 138.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001885/1.421, allocations: 87.09 kB / 0.6514 GB, free: 138.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003432/1.425, allocations: 3.86 MB / 0.6552 GB, free: 135.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003204/1.428, allocations: 1.506 MB / 0.6566 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004012/1.432, allocations: 1.579 MB / 0.6582 GB, free: 133.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/1.432, allocations: 302.5 kB / 0.6585 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008341/1.44, allocations: 4.087 MB / 0.6625 GB, free: 132.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.453, allocations: 7.909 MB / 0.6702 GB, free: 126 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/1.474, allocations: 12.97 MB / 0.6829 GB, free: 117.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003561/1.475, allocations: 34.53 kB / 0.6829 GB, free: 117.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03992/1.515, allocations: 14.8 MB / 0.6973 GB, free: 108.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003888/1.515, allocations: 60 kB / 0.6974 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006956/1.516, allocations: 128 kB / 0.6975 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/1.526, allocations: 2.944 MB / 0.7004 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009098/1.536, allocations: 1.827 MB / 0.7022 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/1.56, allocations: 15.96 MB / 0.7178 GB, free: 88.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/1.572, allocations: 0.5027 MB / 0.7183 GB, free: 88.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/1.575, allocations: 447.1 kB / 0.7187 GB, free: 87.69 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.01433/1.59, allocations: 2.899 MB / 0.7215 GB, free: 84.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003495/1.593, allocations: 462 kB / 0.722 GB, free: 84.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02751/1.621, allocations: 10.94 MB / 0.7326 GB, free: 73.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000148/1.621, allocations: 65.95 kB / 0.7327 GB, free: 73.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/1.621, allocations: 8 kB / 0.7327 GB, free: 73.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/1.621, allocations: 15.94 kB / 0.7327 GB, free: 73.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06186/1.683, allocations: 21.78 MB / 0.754 GB, free: 51.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.107e-05/1.683, allocations: 12.97 kB / 0.754 GB, free: 51.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004331/1.688, allocations: 0.6864 MB / 0.7547 GB, free: 50.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00873/1.696, allocations: 2.748 MB / 0.7574 GB, free: 47.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002236/1.699, allocations: 79.98 kB / 0.7574 GB, free: 47.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/1.719, allocations: 14.56 MB / 0.7717 GB, free: 32.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-05/1.719, allocations: 15.94 kB / 0.7717 GB, free: 32.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03026/1.749, allocations: 15.56 MB / 0.7869 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/1.754, allocations: 1.186 MB / 0.788 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003178/1.757, allocations: 71.98 kB / 0.7881 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005457/1.763, allocations: 315.5 kB / 0.7884 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002007/1.765, allocations: 262 kB / 0.7886 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009902/1.766, allocations: 119.2 kB / 0.7888 GB, free: 15.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007808/1.774, allocations: 2.741 MB / 0.7914 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.774, allocations: 0 / 0.7914 GB, free: 12.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01849/1.792, allocations: 1.69 MB / 0.7931 GB, free: 10.65 MB / 494.1 MB 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.002539/1.795, allocations: 247.3 kB / 0.7933 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3402/2.135, allocations: 19.99 MB / 0.8128 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.588e-05/2.135, allocations: 0 / 0.8128 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008594/2.144, allocations: 4.371 MB / 0.8171 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/2.15, allocations: 0.7086 MB / 0.8178 GB, free: 153 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/2.183, allocations: 16.05 MB / 0.8335 GB, free: 146.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007934/2.191, allocations: 4.621 MB / 0.838 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008992/2.2, allocations: 2.738 MB / 0.8407 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/2.202, allocations: 354.8 kB / 0.841 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.043e-06/2.202, allocations: 0 / 0.841 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1475/2.349, allocations: 72.57 MB / 0.9119 GB, free: 87.68 MB / 0.4981 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)