Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, 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.001773/0.001773, 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.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.3113/0.3113, allocations: 39.99 MB / 310.4 MB, free: 9.98 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.0006197/0.0006199, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 57.95 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2244/0.3407, allocations: 25.67 MB / 462.4 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3524, allocations: 6.672 MB / 469.1 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.3567, allocations: 117.2 kB / 469.2 MB, free: 33.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.3595, allocations: 1.298 MB / 470.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.3697, allocations: 3.943 MB / 474.5 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3712, allocations: 405.9 kB / 474.9 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.375, allocations: 1.99 MB / 476.8 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003411/0.3784, allocations: 2.273 MB / 479.1 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.3802, allocations: 0.8857 MB / 480 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.382, allocations: 1.223 MB / 481.2 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.3826, allocations: 133.2 kB / 481.4 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.3843, allocations: 0.7375 MB / 482.1 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3853, allocations: 1.388 MB / 483.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.3861, allocations: 0.7689 MB / 484.3 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.3911, allocations: 4.813 MB / 489.1 MB, free: 29.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3911, allocations: 0 / 489.1 MB, free: 29.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3912, allocations: 0 / 489.1 MB, free: 29.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.3914, allocations: 0 / 489.1 MB, free: 29.03 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.00714/0.3985, allocations: 3.587 MB / 492.7 MB, free: 26.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3986, allocations: 9.672 kB / 492.7 MB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/0.4121, allocations: 3.725 MB / 496.4 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005551/0.4177, allocations: 2.122 MB / 498.5 MB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.418, allocations: 198.1 kB / 498.7 MB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.4192, allocations: 253.7 kB / 499 MB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.4362, allocations: 10.75 MB / 0.4978 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-05/0.4364, allocations: 30.25 kB / 0.4978 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/0.4369, allocations: 123.8 kB / 0.4979 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.4415, allocations: 2.642 MB / 0.5005 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.4591, allocations: 10.08 MB / 0.5103 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05307/0.5122, allocations: 35.38 MB / 0.5449 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009746/0.522, allocations: 5.175 MB / 0.5499 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.5238, allocations: 1.884 MB / 0.5518 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.5239, allocations: 48.56 kB / 0.5518 GB, free: 128 kB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 5.551e-06/0.5239, allocations: 0 / 0.5518 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03596/0.5599, allocations: 14.55 MB / 0.566 GB, free: 1.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.56, allocations: 73.41 kB / 0.5661 GB, free: 1.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/0.5642, allocations: 2.782 MB / 0.5688 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003937/0.5647, allocations: 53.7 kB / 0.5689 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.5667, allocations: 2.709 MB / 0.5715 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5679, allocations: 0.8557 MB / 0.5723 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.5684, allocations: 100 kB / 0.5724 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004339/0.5689, allocations: 0.5371 MB / 0.573 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.5723, allocations: 2.189 MB / 0.5751 GB, free: 8.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.5781, allocations: 5.087 MB / 0.5801 GB, free: 1.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/0.5834, allocations: 3.33 MB / 0.5833 GB, free: 14.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-05/0.5835, allocations: 28 kB / 0.5834 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01518/0.5987, allocations: 7.895 MB / 0.5911 GB, free: 6.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.5988, allocations: 48 kB / 0.5911 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.599, allocations: 104 kB / 0.5912 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.6015, allocations: 0.8026 MB / 0.592 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.6059, allocations: 1.201 MB / 0.5932 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.6122, allocations: 4.299 MB / 0.5974 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/0.6164, allocations: 303.8 kB / 0.5977 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/0.618, allocations: 303.9 kB / 0.5979 GB, free: 15.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (640): * Single equations (assignments): 633 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005734/0.6238, allocations: 2.059 MB / 0.6 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006424/0.6244, allocations: 268.6 kB / 0.6002 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008365/0.6328, allocations: 4.714 MB / 0.6048 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/0.6329, allocations: 43.98 kB / 0.6049 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.6329, allocations: 4 kB / 0.6049 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.633, allocations: 11.97 kB / 0.6049 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.6533, allocations: 10.6 MB / 0.6152 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.6533, allocations: 4.125 kB / 0.6152 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.6549, allocations: 363.5 kB / 0.6156 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.657, allocations: 0.656 MB / 0.6162 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002624/0.6573, allocations: 47.97 kB / 0.6163 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.6622, allocations: 3.753 MB / 0.6199 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.6622, allocations: 11.94 kB / 0.6199 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.673, allocations: 7.686 MB / 0.6274 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2134/0.8864, allocations: 0.6519 MB / 0.6281 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/0.8871, allocations: 40.33 kB / 0.6281 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.8885, allocations: 146.1 kB / 0.6282 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.8888, allocations: 129.8 kB / 0.6284 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.8889, allocations: 68.56 kB / 0.6284 GB, free: 144.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002519/0.8914, allocations: 1.708 MB / 0.6301 GB, free: 144.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8915, allocations: 0 / 0.6301 GB, free: 144.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003789/0.8953, allocations: 0.9621 MB / 0.631 GB, free: 144.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004912/0.8958, allocations: 192.3 kB / 0.6312 GB, free: 144 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007933/0.9037, allocations: 5.35 MB / 0.6365 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.9038, allocations: 3.156 kB / 0.6365 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00366/0.9074, allocations: 2.015 MB / 0.6384 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.91, allocations: 307.1 kB / 0.6387 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.9324, allocations: 11.31 MB / 0.6498 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/0.9385, allocations: 3.312 MB / 0.653 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008557/0.947, allocations: 1.976 MB / 0.6549 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.9483, allocations: 206.9 kB / 0.6551 GB, free: 136.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.9483, allocations: 0 / 0.6551 GB, free: 136.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07786/1.026, allocations: 29.37 MB / 0.6838 GB, free: 125.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) Environment - environmentSimulation: