Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 100.3 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.001026/0.001026, 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.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3077/0.3077, allocations: 39.99 MB / 310.4 MB, free: 9.605 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.0005497/0.0005498, allocations: 19.98 kB / 378.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.11, allocations: 57.95 MB / 436.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2025/0.3126, allocations: 32.75 MB / 469.5 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.3283, allocations: 8.124 MB / 477.6 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00596/0.3343, allocations: 154.1 kB / 477.8 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.3383, allocations: 1.649 MB / 479.4 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.3509, allocations: 4.885 MB / 484.3 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.3526, allocations: 463.3 kB / 484.8 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.3562, allocations: 2.148 MB / 486.9 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.3601, allocations: 3.045 MB / 490 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.3617, allocations: 0.9841 MB / 491 MB, free: 24.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.3636, allocations: 1.346 MB / 492.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006856/0.3643, allocations: 149.5 kB / 492.4 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.3659, allocations: 0.7485 MB / 493.2 MB, free: 23.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.3674, allocations: 1.509 MB / 494.7 MB, free: 23.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009083/0.3683, allocations: 0.8374 MB / 495.5 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006667/0.375, allocations: 5.39 MB / 0.4892 GB, free: 21.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.375, allocations: 1.25 kB / 0.4892 GB, free: 21.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.375, allocations: 0 / 0.4892 GB, free: 21.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.3753, allocations: 0 / 0.4892 GB, free: 21.7 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.00954/0.3848, allocations: 3.919 MB / 0.493 GB, free: 19.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3849, allocations: 9.125 kB / 0.493 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.3976, allocations: 3.77 MB / 0.4967 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.4035, allocations: 2.359 MB / 0.499 GB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.4037, allocations: 220.7 kB / 0.4992 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.4052, allocations: 298.5 kB / 0.4995 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.4276, allocations: 11.39 MB / 0.5106 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.4278, allocations: 31.56 kB / 0.5107 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009083/0.4287, allocations: 143 kB / 0.5108 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004237/0.4329, allocations: 2.714 MB / 0.5134 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.452, allocations: 10.53 MB / 0.5237 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/0.5099, allocations: 37.61 MB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008903/0.5189, allocations: 4.571 MB / 0.5649 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.5202, allocations: 1.315 MB / 0.5662 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5202, allocations: 52.56 kB / 0.5663 GB, free: 1.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 5.981e-06/0.5202, allocations: 0 / 0.5663 GB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.04337/0.5636, allocations: 18.15 MB / 0.584 GB, free: 14.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.5637, allocations: 73.41 kB / 0.5841 GB, free: 14.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/0.5683, allocations: 2.898 MB / 0.5869 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006469/0.569, allocations: 57.7 kB / 0.5869 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002234/0.5712, allocations: 2.857 MB / 0.5897 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.5726, allocations: 0.9133 MB / 0.5906 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.5731, allocations: 112 kB / 0.5907 GB, free: 7.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003837/0.5735, allocations: 0.5493 MB / 0.5913 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.5771, allocations: 2.298 MB / 0.5935 GB, free: 4.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006538/0.5836, allocations: 5.26 MB / 0.5987 GB, free: 14.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/0.5894, allocations: 3.474 MB / 0.602 GB, free: 10.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.806e-05/0.5896, allocations: 31.94 kB / 0.6021 GB, free: 10.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01676/0.6063, allocations: 8.317 MB / 0.6102 GB, free: 2.434 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.6065, allocations: 48 kB / 0.6102 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/0.6066, allocations: 108 kB / 0.6103 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/0.6095, allocations: 0.9532 MB / 0.6113 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/0.6141, allocations: 1.244 MB / 0.6125 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.6207, allocations: 4.93 MB / 0.6173 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/0.6246, allocations: 307.7 kB / 0.6176 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007982/0.6255, allocations: 312 kB / 0.6179 GB, free: 10.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (665): * Single equations (assignments): 658 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004432/0.6299, allocations: 2.197 MB / 0.62 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/0.6304, allocations: 284.3 kB / 0.6203 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008795/0.6392, allocations: 5.126 MB / 0.6253 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/0.6393, allocations: 40 kB / 0.6254 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.6394, allocations: 4 kB / 0.6254 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.002e-05/0.6394, allocations: 11.95 kB / 0.6254 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2178/0.8572, allocations: 11.95 MB / 0.637 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.8572, allocations: 9.656 kB / 0.6371 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.8589, allocations: 402.5 kB / 0.6374 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.8611, allocations: 0.7773 MB / 0.6382 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/0.8614, allocations: 59.77 kB / 0.6383 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.8658, allocations: 4.204 MB / 0.6424 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.8658, allocations: 13.94 kB / 0.6424 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00976/0.8756, allocations: 8.457 MB / 0.6506 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/0.8775, allocations: 0.6928 MB / 0.6513 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/0.878, allocations: 45.22 kB / 0.6513 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.8794, allocations: 149.8 kB / 0.6515 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.8797, allocations: 150.6 kB / 0.6516 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.8799, allocations: 79.31 kB / 0.6517 GB, free: 135.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002383/0.8823, allocations: 1.781 MB / 0.6534 GB, free: 134.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8823, allocations: 0 / 0.6534 GB, free: 134.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004833/0.8871, allocations: 1.021 MB / 0.6544 GB, free: 134.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007924/0.8879, allocations: 206 kB / 0.6546 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009897/0.8978, allocations: 5.617 MB / 0.6601 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.8979, allocations: 1.438 kB / 0.6601 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003704/0.9016, allocations: 2.142 MB / 0.6622 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.9038, allocations: 341.6 kB / 0.6625 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.9241, allocations: 12.27 MB / 0.6745 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005578/0.9297, allocations: 3.526 MB / 0.678 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00538/0.9351, allocations: 2.001 MB / 0.6799 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.9364, allocations: 221.2 kB / 0.6801 GB, free: 124 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.9364, allocations: 4 kB / 0.6801 GB, free: 124 MB / 494.1 MB Notification: Performance of Templates: time 0.05146/0.9879, allocations: 32.08 MB / 0.7115 GB, free: 96.96 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: