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.001066/0.001066, 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.001069/0.001069, allocations: 192.4 kB / 16.14 MB, free: 6.711 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.793 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.4107/0.4107, allocations: 37.98 MB / 307.3 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.001429/0.00143, allocations: 70.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.155, allocations: 56.46 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.4212/0.5763, allocations: 63.95 MB / 495 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04652/0.6229, allocations: 12.8 MB / 0.4959 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02365/0.6466, allocations: 275.8 kB / 0.4961 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008011/0.6547, allocations: 3.029 MB / 0.4991 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.6666, allocations: 2.469 MB / 0.5015 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.6709, allocations: 0.9519 MB / 0.5024 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02279/0.6938, allocations: 10.07 MB / 0.5123 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.707, allocations: 4.126 MB / 0.5163 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/0.7154, allocations: 2.02 MB / 0.5183 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.7257, allocations: 3.466 MB / 0.5216 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003207/0.729, allocations: 322.2 kB / 0.522 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006586/0.7356, allocations: 1.231 MB / 0.5232 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007629/0.7433, allocations: 2.775 MB / 0.5259 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008919/0.7522, allocations: 3.125 MB / 0.5289 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.7684, allocations: 9.652 MB / 0.5383 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.7684, allocations: 0 / 0.5383 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7684, allocations: 0 / 0.5383 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004696/0.7689, allocations: 0 / 0.5383 GB, free: 15.24 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.02571/0.7946, allocations: 7.31 MB / 0.5455 GB, free: 7.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.719e-05/0.7947, allocations: 8.031 kB / 0.5455 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.8112, allocations: 3.841 MB / 0.5492 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.8223, allocations: 4.264 MB / 0.5534 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.8227, allocations: 324.5 kB / 0.5537 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/0.8257, allocations: 440 kB / 0.5541 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03555/0.8613, allocations: 15.81 MB / 0.5696 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/0.8616, allocations: 55.5 kB / 0.5696 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.8626, allocations: 199.8 kB / 0.5698 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006751/0.8694, allocations: 3.474 MB / 0.5732 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03701/0.9064, allocations: 14.92 MB / 0.5878 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4778/1.384, allocations: 56.11 MB / 0.6426 GB, free: 115 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/1.404, allocations: 8.209 MB / 0.6506 GB, free: 113.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007784/1.412, allocations: 4.831 MB / 0.6553 GB, free: 112.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.414, allocations: 2.211 MB / 0.6575 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.414, allocations: 62.77 kB / 0.6575 GB, free: 110.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 8.446e-06/1.414, allocations: 6.875 kB / 0.6575 GB, free: 110.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1295/1.544, allocations: 40.25 MB / 0.6968 GB, free: 98.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/1.544, allocations: 119.8 kB / 0.697 GB, free: 98.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007811/1.551, allocations: 4.367 MB / 0.7012 GB, free: 97.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001942/1.553, allocations: 85.45 kB / 0.7013 GB, free: 97.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/1.557, allocations: 3.868 MB / 0.7051 GB, free: 94.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002928/1.56, allocations: 1.489 MB / 0.7065 GB, free: 93.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/1.562, allocations: 1.586 MB / 0.7081 GB, free: 92.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/1.562, allocations: 301.1 kB / 0.7084 GB, free: 92.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005529/1.568, allocations: 4.087 MB / 0.7124 GB, free: 88.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/1.577, allocations: 7.92 MB / 0.7201 GB, free: 79.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/1.595, allocations: 12.96 MB / 0.7328 GB, free: 64.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.595, allocations: 36 kB / 0.7328 GB, free: 64.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02835/1.623, allocations: 14.8 MB / 0.7472 GB, free: 49.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/1.624, allocations: 60 kB / 0.7473 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.624, allocations: 128 kB / 0.7474 GB, free: 49.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007822/1.632, allocations: 2.936 MB / 0.7503 GB, free: 46.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/1.639, allocations: 1.825 MB / 0.7521 GB, free: 44.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/1.658, allocations: 14.86 MB / 0.7666 GB, free: 29.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008445/1.666, allocations: 0.5069 MB / 0.7671 GB, free: 29.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/1.668, allocations: 439.9 kB / 0.7675 GB, free: 28.8 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.007174/1.675, allocations: 2.914 MB / 0.7703 GB, free: 25.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.677, allocations: 463.8 kB / 0.7708 GB, free: 25.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.695, allocations: 10.93 MB / 0.7815 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-05/1.695, allocations: 63.98 kB / 0.7815 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/1.695, allocations: 8 kB / 0.7815 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/1.695, allocations: 23.92 kB / 0.7816 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04555/1.741, allocations: 21.79 MB / 0.8028 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/1.741, allocations: 12 kB / 0.8028 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003783/1.745, allocations: 0.6864 MB / 0.8035 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00862/1.753, allocations: 2.725 MB / 0.8062 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.754, allocations: 83.98 kB / 0.8063 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/1.774, allocations: 13.57 MB / 0.8195 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/1.775, allocations: 19.94 kB / 0.8195 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3826/2.157, allocations: 15.57 MB / 0.8347 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/2.161, allocations: 1.178 MB / 0.8359 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/2.162, allocations: 75.47 kB / 0.836 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/2.165, allocations: 309.7 kB / 0.8363 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/2.166, allocations: 272.5 kB / 0.8365 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/2.166, allocations: 115.5 kB / 0.8366 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00463/2.171, allocations: 2.739 MB / 0.8393 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/2.171, allocations: 0 / 0.8393 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01157/2.183, allocations: 1.699 MB / 0.841 GB, free: 157.5 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.00184/2.184, allocations: 238.1 kB / 0.8412 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01999/2.204, allocations: 10.06 MB / 0.851 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.278e-05/2.205, allocations: 0.9375 kB / 0.851 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/2.215, allocations: 4.365 MB / 0.8553 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008326/2.223, allocations: 0.674 MB / 0.8559 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/2.262, allocations: 19.21 MB / 0.8747 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01382/2.276, allocations: 4.622 MB / 0.8792 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009358/2.286, allocations: 2.733 MB / 0.8819 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/2.288, allocations: 351.4 kB / 0.8822 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.363e-06/2.288, allocations: 0 / 0.8822 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.119/2.407, allocations: 69.77 MB / 0.9503 GB, free: 83.68 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (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)