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.001051/0.001051, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.246/1.246, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001781/0.001781, allocations: 109.2 kB / 218 MB, free: 8.41 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.2282/0.2282, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.781e-05, allocations: 2.625 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08336, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4288, allocations: 88.46 MB / 487.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.429, allocations: 72.69 kB / 487.3 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2004/0.6294, allocations: 84.06 MB / 0.5579 GB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6294, allocations: 0 / 0.5579 GB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000206/0.6297, allocations: 68 kB / 0.558 GB, free: 15.63 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.01335/0.643, allocations: 3.647 MB / 0.5616 GB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6431, allocations: 12.03 kB / 0.5616 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.6586, allocations: 3.52 MB / 0.565 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6705, allocations: 4.142 MB / 0.569 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.6708, allocations: 124 kB / 0.5692 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002245/0.6731, allocations: 223.9 kB / 0.5694 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01317/0.6863, allocations: 7.267 MB / 0.5765 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.7109, allocations: 9.471 MB / 0.5857 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/0.7112, allocations: 27.77 kB / 0.5858 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/0.7133, allocations: 12 kB / 0.5858 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/0.7154, allocations: 1.215 MB / 0.5869 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/1.038, allocations: 32.97 MB / 0.6191 GB, free: 98.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/1.044, allocations: 4.162 MB / 0.6232 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/1.048, allocations: 2.231 MB / 0.6254 GB, free: 96.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/1.049, allocations: 1.882 MB / 0.6272 GB, free: 95.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.05, allocations: 54.61 kB / 0.6273 GB, free: 95.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 4.969e-06/1.05, allocations: 3.594 kB / 0.6273 GB, free: 95.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=238): time 0.02641/1.076, allocations: 14.06 MB / 0.641 GB, free: 94.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.076, allocations: 73.59 kB / 0.6411 GB, free: 94.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/1.079, allocations: 2.242 MB / 0.6433 GB, free: 94.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002343/1.079, allocations: 30.08 kB / 0.6433 GB, free: 94.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.081, allocations: 2.784 MB / 0.646 GB, free: 92.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008305/1.082, allocations: 0.8439 MB / 0.6468 GB, free: 92.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.082, allocations: 0 / 0.6468 GB, free: 92.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003552/1.082, allocations: 0.6044 MB / 0.6474 GB, free: 91.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/1.085, allocations: 2.123 MB / 0.6495 GB, free: 91.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.089, allocations: 5.249 MB / 0.6546 GB, free: 87.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004819/1.094, allocations: 3.379 MB / 0.6579 GB, free: 87.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.222e-05/1.094, allocations: 34.94 kB / 0.658 GB, free: 87.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.01362/1.108, allocations: 7.454 MB / 0.6652 GB, free: 85.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/1.108, allocations: 51.25 kB / 0.6653 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.108, allocations: 112.2 kB / 0.6654 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/1.11, allocations: 0.8126 MB / 0.6662 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/1.115, allocations: 1.285 MB / 0.6674 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/1.12, allocations: 3.975 MB / 0.6713 GB, free: 82.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.124, allocations: 206.6 kB / 0.6715 GB, free: 82.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007377/1.125, allocations: 323.4 kB / 0.6718 GB, free: 82.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * 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 (684): * Single equations (assignments): 677 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008087/1.126, allocations: 379.8 kB / 0.6722 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/1.126, allocations: 264.2 kB / 0.6724 GB, free: 82.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007363/1.134, allocations: 4.572 MB / 0.6769 GB, free: 80.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/1.134, allocations: 51.14 kB / 0.677 GB, free: 80.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.134, allocations: 3.969 kB / 0.677 GB, free: 80.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.134, allocations: 7.734 kB / 0.677 GB, free: 80.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/1.151, allocations: 9.561 MB / 0.6863 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.151, allocations: 7.812 kB / 0.6863 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.152, allocations: 377 kB / 0.6867 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/1.154, allocations: 0.6509 MB / 0.6873 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/1.154, allocations: 18.3 kB / 0.6873 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/1.158, allocations: 3.462 MB / 0.6907 GB, free: 75.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/1.158, allocations: 11.94 kB / 0.6907 GB, free: 75.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009939/1.168, allocations: 7.582 MB / 0.6981 GB, free: 68.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.17, allocations: 0.6495 MB / 0.6988 GB, free: 67.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000788/1.171, allocations: 12 kB / 0.6988 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.172, allocations: 105.1 kB / 0.6989 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.173, allocations: 137.3 kB / 0.699 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.173, allocations: 64.7 kB / 0.6991 GB, free: 67.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003674/1.177, allocations: 1.469 MB / 0.7005 GB, free: 66.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.177, allocations: 0 / 0.7005 GB, free: 66.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006621/1.183, allocations: 0.8248 MB / 0.7013 GB, free: 65.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (181): * Single equations (assignments): 174 * 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.0008001/1.184, allocations: 150.6 kB / 0.7015 GB, free: 65.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00801/1.192, allocations: 5.188 MB / 0.7065 GB, free: 60.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.192, allocations: 0 / 0.7065 GB, free: 60.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/1.195, allocations: 1.961 MB / 0.7084 GB, free: 59.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.197, allocations: 214.6 kB / 0.7086 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.212, allocations: 7.963 MB / 0.7164 GB, free: 51.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.218, allocations: 3.304 MB / 0.7196 GB, free: 49.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005537/1.223, allocations: 2.074 MB / 0.7217 GB, free: 47.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009983/1.224, allocations: 198.9 kB / 0.7219 GB, free: 47.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/1.224, allocations: 0 / 0.7219 GB, free: 47.66 MB / 426.7 MB Notification: Performance of Templates: time 0.0523/1.276, allocations: 25.58 MB / 0.7468 GB, free: 28.07 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)