Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00154/0.00154, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.63/1.63, allocations: 194.3 MB / 207.5 MB, free: 3.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 113.7 kB / 252.6 MB, free: 4.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1926/0.1926, allocations: 39.93 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.526e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5826, allocations: 99.2 MB / 0.5413 GB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.5829, allocations: 81.58 kB / 0.5414 GB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6098/1.193, allocations: 128.6 MB / 0.667 GB, free: 93.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.193, allocations: 1 kB / 0.667 GB, free: 93.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004431/1.193, allocations: 116.2 kB / 0.6671 GB, free: 93.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.02648/1.22, allocations: 6.244 MB / 0.6732 GB, free: 92.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.22, allocations: 8.219 kB / 0.6732 GB, free: 92.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03144/1.251, allocations: 6.46 MB / 0.6795 GB, free: 92.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/1.273, allocations: 8.557 MB / 0.6879 GB, free: 91.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/1.274, allocations: 448.2 kB / 0.6883 GB, free: 91.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005521/1.28, allocations: 0.5746 MB / 0.6889 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0424/1.322, allocations: 15.29 MB / 0.7038 GB, free: 89.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003231/1.322, allocations: 58.33 kB / 0.7039 GB, free: 89.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001978/1.324, allocations: 269.3 kB / 0.7041 GB, free: 89.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002434/1.327, allocations: 1.696 MB / 0.7058 GB, free: 89.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/1.359, allocations: 14.63 MB / 0.7201 GB, free: 88.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0903/1.449, allocations: 56.26 MB / 0.775 GB, free: 51.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/1.467, allocations: 7.955 MB / 0.7828 GB, free: 44.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006188/1.473, allocations: 4.685 MB / 0.7874 GB, free: 40.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.475, allocations: 2.211 MB / 0.7895 GB, free: 37.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/1.475, allocations: 65.08 kB / 0.7896 GB, free: 37.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=367): time 7.174e-06/1.475, allocations: 3.188 kB / 0.7896 GB, free: 37.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.0949/1.57, allocations: 33.39 MB / 0.8222 GB, free: 9.352 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/1.57, allocations: 116 kB / 0.8223 GB, free: 9.219 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008382/1.579, allocations: 3.825 MB / 0.8261 GB, free: 5.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.58, allocations: 84.2 kB / 0.8261 GB, free: 5.297 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00339/1.584, allocations: 3.911 MB / 0.83 GB, free: 1.375 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002883/1.587, allocations: 1.482 MB / 0.8314 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/1.588, allocations: 152 kB / 0.8315 GB, free: 15.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001125/1.59, allocations: 0.6404 MB / 0.8322 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008021/1.598, allocations: 3.822 MB / 0.8359 GB, free: 11.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.611, allocations: 7.612 MB / 0.8433 GB, free: 1.961 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3319/1.943, allocations: 5.407 MB / 0.8486 GB, free: 97.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.943, allocations: 34.94 kB / 0.8487 GB, free: 97.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.03355/1.977, allocations: 13.94 MB / 0.8623 GB, free: 97.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/1.977, allocations: 64.03 kB / 0.8623 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/1.977, allocations: 129.7 kB / 0.8625 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007837/1.985, allocations: 2.627 MB / 0.865 GB, free: 97.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008271/1.993, allocations: 1.943 MB / 0.8669 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/2.01, allocations: 13.61 MB / 0.8802 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007186/2.017, allocations: 485.1 kB / 0.8807 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.019, allocations: 430.1 kB / 0.8811 GB, free: 94.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00165/2.021, allocations: 0.6608 MB / 0.8817 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/2.022, allocations: 463.2 kB / 0.8822 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/2.04, allocations: 10.36 MB / 0.8923 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/2.04, allocations: 62.73 kB / 0.8923 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.999e-05/2.04, allocations: 14.67 kB / 0.8924 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/2.04, allocations: 14.34 kB / 0.8924 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04029/2.081, allocations: 20.98 MB / 0.9129 GB, free: 87.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/2.081, allocations: 17.09 kB / 0.9129 GB, free: 87.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/2.084, allocations: 0.7883 MB / 0.9136 GB, free: 87.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/2.091, allocations: 2.402 MB / 0.916 GB, free: 86.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009308/2.092, allocations: 86.69 kB / 0.9161 GB, free: 86.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/2.108, allocations: 12.36 MB / 0.9281 GB, free: 81.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/2.108, allocations: 17.41 kB / 0.9282 GB, free: 81.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02555/2.134, allocations: 16.12 MB / 0.9439 GB, free: 68.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004089/2.138, allocations: 1.156 MB / 0.945 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/2.139, allocations: 73.41 kB / 0.9451 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/2.142, allocations: 299.7 kB / 0.9454 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/2.143, allocations: 265.2 kB / 0.9456 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/2.143, allocations: 113.1 kB / 0.9458 GB, free: 67.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004706/2.148, allocations: 2.669 MB / 0.9484 GB, free: 64.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.148, allocations: 3.656 kB / 0.9484 GB, free: 64.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009435/2.158, allocations: 1.65 MB / 0.95 GB, free: 63.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/2.159, allocations: 238.5 kB / 0.9502 GB, free: 62.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01554/2.174, allocations: 9.608 MB / 0.9596 GB, free: 54.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/2.174, allocations: 4 kB / 0.9596 GB, free: 54.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006176/2.181, allocations: 4.194 MB / 0.9637 GB, free: 50.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/2.186, allocations: 0.6411 MB / 0.9643 GB, free: 49.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/2.211, allocations: 13.32 MB / 0.9773 GB, free: 37.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/2.218, allocations: 4.747 MB / 0.982 GB, free: 34.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007034/2.225, allocations: 2.733 MB / 0.9846 GB, free: 32.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/2.227, allocations: 345.2 kB / 0.985 GB, free: 32.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/2.227, allocations: 0 / 0.985 GB, free: 32.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4847/2.711, allocations: 65.1 MB / 1.049 GB, free: 104.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)