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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.001009, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.082/1.082, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001608/0.001608, allocations: 114.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1543/0.1543, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.721e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08799, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.3938, allocations: 89.12 MB / 494.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.394, allocations: 71.06 kB / 494.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2072/0.6013, allocations: 85.61 MB / 0.5669 GB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6013, allocations: 0 / 0.5669 GB, free: 4.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.6015, allocations: 71.94 kB / 0.567 GB, free: 4.547 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.009491/0.611, allocations: 3.648 MB / 0.5705 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6111, allocations: 12.02 kB / 0.5705 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.6259, allocations: 3.512 MB / 0.574 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.6377, allocations: 4.14 MB / 0.578 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.6381, allocations: 291.7 kB / 0.5783 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.6405, allocations: 387.8 kB / 0.5787 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.6631, allocations: 10.21 MB / 0.5886 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.6633, allocations: 27.8 kB / 0.5887 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007993/0.6641, allocations: 179.8 kB / 0.5888 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/0.6658, allocations: 1.207 MB / 0.59 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/0.6849, allocations: 9.871 MB / 0.5996 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2464/0.9313, allocations: 35.46 MB / 0.6343 GB, free: 79.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008547/0.9399, allocations: 4.93 MB / 0.6391 GB, free: 77.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.9432, allocations: 2.278 MB / 0.6413 GB, free: 77.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.9446, allocations: 1.881 MB / 0.6431 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.9447, allocations: 53.89 kB / 0.6432 GB, free: 76.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.069e-06/0.9447, allocations: 0 / 0.6432 GB, free: 76.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.02352/0.9682, allocations: 11.25 MB / 0.6542 GB, free: 75.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.9683, allocations: 75.41 kB / 0.6543 GB, free: 75.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.9709, allocations: 2.344 MB / 0.6565 GB, free: 74.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.971, allocations: 53.98 kB / 0.6566 GB, free: 74.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.9722, allocations: 2.695 MB / 0.6592 GB, free: 73.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.9727, allocations: 0.856 MB / 0.6601 GB, free: 72.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.9729, allocations: 103.8 kB / 0.6602 GB, free: 72.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.9732, allocations: 0.5327 MB / 0.6607 GB, free: 72.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.9755, allocations: 2.135 MB / 0.6628 GB, free: 72.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/0.9788, allocations: 5.021 MB / 0.6677 GB, free: 68.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.9823, allocations: 3.317 MB / 0.6709 GB, free: 68.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.885e-05/0.9824, allocations: 30.53 kB / 0.6709 GB, free: 68.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01017/0.9926, allocations: 7.769 MB / 0.6785 GB, free: 66.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.9927, allocations: 50.28 kB / 0.6786 GB, free: 66.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.81e-05/0.9928, allocations: 101.4 kB / 0.6787 GB, free: 66.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.9948, allocations: 0.803 MB / 0.6795 GB, free: 66.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/0.9984, allocations: 1.196 MB / 0.6806 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/1.003, allocations: 4.133 MB / 0.6847 GB, free: 64.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/1.006, allocations: 295.6 kB / 0.6849 GB, free: 64.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006899/1.007, allocations: 298.9 kB / 0.6852 GB, free: 64.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 629 * 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.0007564/1.008, allocations: 496.2 kB / 0.6857 GB, free: 64.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/1.008, allocations: 270.1 kB / 0.686 GB, free: 63.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/1.015, allocations: 4.673 MB / 0.6905 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/1.015, allocations: 44.75 kB / 0.6906 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.015, allocations: 0 / 0.6906 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/1.015, allocations: 7.641 kB / 0.6906 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.032, allocations: 10.59 MB / 0.7009 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.032, allocations: 6.719 kB / 0.7009 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.034, allocations: 367 kB / 0.7013 GB, free: 58.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/1.036, allocations: 0.6472 MB / 0.7019 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/1.036, allocations: 39.66 kB / 0.7019 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/1.04, allocations: 3.591 MB / 0.7054 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.04, allocations: 15.56 kB / 0.7055 GB, free: 56.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/1.049, allocations: 7.606 MB / 0.7129 GB, free: 49.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.05, allocations: 0.6542 MB / 0.7135 GB, free: 48.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/1.051, allocations: 36 kB / 0.7136 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.052, allocations: 138.9 kB / 0.7137 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/1.052, allocations: 136 kB / 0.7138 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.052, allocations: 63.28 kB / 0.7139 GB, free: 48.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002208/1.055, allocations: 1.594 MB / 0.7154 GB, free: 47.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.055, allocations: 0 / 0.7154 GB, free: 47.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004412/1.059, allocations: 0.9434 MB / 0.7164 GB, free: 46.17 MB / 426.7 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 () * 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.000463/1.06, allocations: 179.1 kB / 0.7165 GB, free: 46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006791/1.066, allocations: 5.269 MB / 0.7217 GB, free: 41.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.066, allocations: 4 kB / 0.7217 GB, free: 41.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/1.069, allocations: 1.989 MB / 0.7236 GB, free: 39.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.07, allocations: 317.9 kB / 0.7239 GB, free: 39.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.081, allocations: 7.989 MB / 0.7317 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.084, allocations: 3.311 MB / 0.735 GB, free: 29.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004105/1.088, allocations: 1.959 MB / 0.7369 GB, free: 28.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/1.089, allocations: 194.9 kB / 0.7371 GB, free: 27.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.089, allocations: 4 kB / 0.7371 GB, free: 27.89 MB / 426.7 MB Notification: Performance of Templates: time 0.04443/1.133, allocations: 28.85 MB / 0.7652 GB, free: 3.223 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile (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)