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.001315/0.001315, allocations: 99.86 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.001484/0.001484, 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.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4113/0.4113, allocations: 38.02 MB / 308.4 MB, free: 10.44 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.0006162/0.0006165, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3861/0.5394, allocations: 54.66 MB / 488.6 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03782/0.5773, allocations: 12.76 MB / 0.4896 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01847/0.5958, allocations: 274.2 kB / 0.4899 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01453/0.6104, allocations: 2.759 MB / 0.4926 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03705/0.6475, allocations: 8.031 MB / 0.5004 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.6534, allocations: 0.9032 MB / 0.5013 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03471/0.6881, allocations: 15.82 MB / 0.5167 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.6989, allocations: 4.994 MB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005338/0.7043, allocations: 1.596 MB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005517/0.7098, allocations: 2.268 MB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.7122, allocations: 220 kB / 0.5256 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.7162, allocations: 0.9597 MB / 0.5265 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003423/0.7196, allocations: 2.416 MB / 0.5289 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.7218, allocations: 1.209 MB / 0.5301 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.7324, allocations: 7.799 MB / 0.5377 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7325, allocations: 0 / 0.5377 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.7325, allocations: 0 / 0.5377 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004959/0.733, allocations: 3.938 kB / 0.5377 GB, free: 1.781 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.01938/0.7524, allocations: 6.433 MB / 0.544 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7525, allocations: 12.03 kB / 0.544 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03392/0.7864, allocations: 7.067 MB / 0.5509 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.8003, allocations: 4.965 MB / 0.5557 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.8007, allocations: 325.9 kB / 0.556 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/0.8031, allocations: 439.6 kB / 0.5565 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03607/0.8392, allocations: 15.92 MB / 0.572 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.8395, allocations: 59.48 kB / 0.5721 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.8405, allocations: 199.8 kB / 0.5722 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006933/0.8475, allocations: 3.47 MB / 0.5756 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03814/0.8856, allocations: 14.99 MB / 0.5903 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4684/1.354, allocations: 56.12 MB / 0.6451 GB, free: 111.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/1.373, allocations: 8.188 MB / 0.6531 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002271/1.375, allocations: 2.212 MB / 0.6552 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/1.375, allocations: 69.05 kB / 0.6553 GB, free: 108 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 8.616e-06/1.375, allocations: 0 / 0.6553 GB, free: 108 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1408/1.516, allocations: 40.8 MB / 0.6951 GB, free: 97.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/1.516, allocations: 120.4 kB / 0.6953 GB, free: 97.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009605/1.526, allocations: 4.831 MB / 0.7 GB, free: 95.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00153/1.527, allocations: 87.11 kB / 0.7001 GB, free: 95.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00274/1.53, allocations: 3.901 MB / 0.7039 GB, free: 92.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.532, allocations: 1.494 MB / 0.7053 GB, free: 91.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/1.532, allocations: 151.1 kB / 0.7055 GB, free: 91.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003171/1.533, allocations: 0.6319 MB / 0.7061 GB, free: 91.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/1.538, allocations: 3.931 MB / 0.7099 GB, free: 89.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007296/1.545, allocations: 7.699 MB / 0.7174 GB, free: 82.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/1.553, allocations: 5.464 MB / 0.7228 GB, free: 77.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-05/1.553, allocations: 43.94 kB / 0.7228 GB, free: 77.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.02569/1.578, allocations: 14.18 MB / 0.7367 GB, free: 62.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/1.579, allocations: 60 kB / 0.7367 GB, free: 62.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/1.579, allocations: 132 kB / 0.7369 GB, free: 62.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007329/1.586, allocations: 2.703 MB / 0.7395 GB, free: 60.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00735/1.594, allocations: 1.782 MB / 0.7412 GB, free: 58.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.612, allocations: 14.55 MB / 0.7554 GB, free: 43.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007602/1.619, allocations: 0.4918 MB / 0.7559 GB, free: 42.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.621, allocations: 430.6 kB / 0.7563 GB, free: 42.57 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.008514/1.63, allocations: 2.915 MB / 0.7592 GB, free: 39.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.632, allocations: 470 kB / 0.7596 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.652, allocations: 10.55 MB / 0.7699 GB, free: 28.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.936e-05/1.652, allocations: 66.72 kB / 0.77 GB, free: 28.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/1.652, allocations: 8 kB / 0.77 GB, free: 28.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/1.652, allocations: 15.94 kB / 0.77 GB, free: 28.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05039/1.703, allocations: 21.43 MB / 0.7909 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.849e-05/1.703, allocations: 16.17 kB / 0.791 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003622/1.706, allocations: 0.6786 MB / 0.7916 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007065/1.713, allocations: 2.485 MB / 0.794 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/1.714, allocations: 87.11 kB / 0.7941 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/1.733, allocations: 13.33 MB / 0.8071 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/1.733, allocations: 19.88 kB / 0.8072 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/1.765, allocations: 16.45 MB / 0.8232 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005404/1.771, allocations: 1.186 MB / 0.8244 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00222/1.773, allocations: 75.98 kB / 0.8245 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005262/1.778, allocations: 314.9 kB / 0.8248 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/1.78, allocations: 265.9 kB / 0.825 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001176/1.782, allocations: 116 kB / 0.8251 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.3559/2.138, allocations: 3.089 MB / 0.8281 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/2.138, allocations: 0 / 0.8281 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01206/2.15, allocations: 1.68 MB / 0.8298 GB, free: 157.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 (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.001812/2.152, allocations: 256.8 kB / 0.83 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01732/2.169, allocations: 9.801 MB / 0.8396 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/2.169, allocations: 3.969 kB / 0.8396 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007307/2.176, allocations: 4.297 MB / 0.8438 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/2.182, allocations: 0.6353 MB / 0.8444 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/2.22, allocations: 18.47 MB / 0.8625 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008037/2.228, allocations: 4.744 MB / 0.8671 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00929/2.237, allocations: 2.743 MB / 0.8698 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.24, allocations: 355.1 kB / 0.8701 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.515e-06/2.24, allocations: 0 / 0.8701 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1353/2.375, allocations: 66.65 MB / 0.9352 GB, free: 99.15 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: