Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001056/0.001056, 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.0009899/0.00099, allocations: 177.3 kB / 15.94 MB, free: 228 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.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.3536/0.3536, allocations: 38.04 MB / 308.4 MB, free: 10.55 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.0007165/0.0007166, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1443, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2861/0.4304, allocations: 25.68 MB / 459.6 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.4464, allocations: 6.663 MB / 466.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005526/0.4519, allocations: 122.4 kB / 466.4 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004028/0.456, allocations: 1.297 MB / 467.7 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.4676, allocations: 3.943 MB / 471.6 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4693, allocations: 405.7 kB / 472 MB, free: 32.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.4728, allocations: 1.992 MB / 474 MB, free: 32.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.4754, allocations: 2.268 MB / 476.3 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.4765, allocations: 0.8881 MB / 477.2 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.4776, allocations: 1.218 MB / 478.4 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.4779, allocations: 135.7 kB / 478.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4791, allocations: 0.7375 MB / 479.3 MB, free: 31.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008481/0.48, allocations: 1.39 MB / 480.7 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.4806, allocations: 0.7638 MB / 481.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.4849, allocations: 4.812 MB / 486.2 MB, free: 30.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4849, allocations: 4 kB / 486.2 MB, free: 30.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4849, allocations: 0 / 486.2 MB, free: 30.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001657/0.4851, allocations: 0 / 486.2 MB, free: 30.72 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.006635/0.4917, allocations: 3.588 MB / 489.8 MB, free: 28.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4918, allocations: 9.438 kB / 489.8 MB, free: 28.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.5042, allocations: 3.721 MB / 493.5 MB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005993/0.5102, allocations: 2.125 MB / 495.7 MB, free: 27.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.5104, allocations: 196.6 kB / 495.9 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.5115, allocations: 259.1 kB / 496.1 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.5342, allocations: 10.75 MB / 0.495 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.5344, allocations: 26.88 kB / 0.495 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004713/0.5348, allocations: 126.9 kB / 0.4951 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004983/0.5398, allocations: 2.644 MB / 0.4977 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.5626, allocations: 10.07 MB / 0.5076 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/0.622, allocations: 35.37 MB / 0.5421 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.633, allocations: 5.176 MB / 0.5472 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/0.6356, allocations: 1.882 MB / 0.549 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.199e-05/0.6357, allocations: 52.56 kB / 0.549 GB, free: 3.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 7.624e-06/0.6357, allocations: 4 kB / 0.549 GB, free: 3.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.05171/0.6874, allocations: 14.55 MB / 0.5633 GB, free: 4.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.6875, allocations: 73.41 kB / 0.5633 GB, free: 4.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006485/0.694, allocations: 2.771 MB / 0.566 GB, free: 2.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006775/0.6947, allocations: 57.7 kB / 0.5661 GB, free: 2.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002985/0.6977, allocations: 2.705 MB / 0.5687 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.6996, allocations: 0.8509 MB / 0.5696 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009267/0.7006, allocations: 106.8 kB / 0.5697 GB, free: 14.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0008226/0.7014, allocations: 0.5332 MB / 0.5702 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005529/0.707, allocations: 2.193 MB / 0.5723 GB, free: 11.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008261/0.7152, allocations: 5.087 MB / 0.5773 GB, free: 5.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/0.7233, allocations: 3.334 MB / 0.5805 GB, free: 1.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.7234, allocations: 31.78 kB / 0.5806 GB, free: 1.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01953/0.743, allocations: 7.887 MB / 0.5883 GB, free: 9.875 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.7432, allocations: 48.19 kB / 0.5883 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/0.7434, allocations: 108 kB / 0.5884 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.7458, allocations: 0.8006 MB / 0.5892 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/0.7502, allocations: 1.193 MB / 0.5904 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.7561, allocations: 4.305 MB / 0.5946 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/0.7599, allocations: 310.1 kB / 0.5949 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009991/0.7609, allocations: 300 kB / 0.5952 GB, free: 2.695 MB / 462.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.005204/0.7662, allocations: 2.062 MB / 0.5972 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000864/0.767, allocations: 268.5 kB / 0.5974 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009146/0.7762, allocations: 4.735 MB / 0.6021 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-05/0.7763, allocations: 43.98 kB / 0.6021 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.7763, allocations: 4 kB / 0.6021 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.7763, allocations: 7.969 kB / 0.6021 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/0.7988, allocations: 10.6 MB / 0.6125 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.7988, allocations: 4 kB / 0.6125 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.8005, allocations: 363.4 kB / 0.6128 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.8026, allocations: 0.6566 MB / 0.6135 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/0.803, allocations: 46.41 kB / 0.6135 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005142/0.8081, allocations: 3.737 MB / 0.6171 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.8082, allocations: 16.02 kB / 0.6172 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.8199, allocations: 7.68 MB / 0.6247 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/0.8221, allocations: 0.6538 MB / 0.6253 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006976/0.8228, allocations: 47.92 kB / 0.6253 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.8244, allocations: 138.6 kB / 0.6255 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.8248, allocations: 141 kB / 0.6256 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.825, allocations: 63.98 kB / 0.6257 GB, free: 2.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003249/0.8283, allocations: 1.714 MB / 0.6273 GB, free: 1.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8283, allocations: 0 / 0.6273 GB, free: 1.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005835/0.8341, allocations: 0.9554 MB / 0.6283 GB, free: 284 kB / 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.0008635/0.835, allocations: 209.1 kB / 0.6285 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.24/1.075, allocations: 5.339 MB / 0.6337 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.075, allocations: 1.562 kB / 0.6337 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/1.078, allocations: 2.016 MB / 0.6357 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.081, allocations: 308 kB / 0.636 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.098, allocations: 11.3 MB / 0.647 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/1.101, allocations: 3.317 MB / 0.6502 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004482/1.105, allocations: 1.968 MB / 0.6522 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.106, allocations: 205.6 kB / 0.6524 GB, free: 125.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/1.106, allocations: 1.156 kB / 0.6524 GB, free: 125.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05929/1.165, allocations: 29.37 MB / 0.681 GB, free: 115.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) Environment - environmentSimulation: