Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009819/0.0009818, allocations: 164.4 kB / 7.635 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.292/1.292, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001567/0.001567, allocations: 103.5 kB / 218 MB, free: 8.344 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.164/0.164, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.793e-05, allocations: 3.219 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09925, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.449, allocations: 91.73 MB / 490.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4492, allocations: 77.75 kB / 490.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1156/0.5649, allocations: 53.12 MB / 0.5309 GB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5649, allocations: 4 kB / 0.5309 GB, free: 11.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.802e-05/0.565, allocations: 52 kB / 0.531 GB, free: 11.01 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.005312/0.5703, allocations: 2.359 MB / 0.5333 GB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5704, allocations: 8.031 kB / 0.5333 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.5731, allocations: 483.1 kB / 0.5337 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.5765, allocations: 1.524 MB / 0.5352 GB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.5767, allocations: 92 kB / 0.5353 GB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.5771, allocations: 160 kB / 0.5355 GB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006087/0.5832, allocations: 3.375 MB / 0.5388 GB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008475/0.5917, allocations: 4.627 MB / 0.5433 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/0.5919, allocations: 11.88 kB / 0.5433 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.5921, allocations: 8 kB / 0.5433 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009392/0.5931, allocations: 496.6 kB / 0.5438 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.6192, allocations: 18.22 MB / 0.5616 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.6206, allocations: 0.6431 MB / 0.5622 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.621, allocations: 311.3 kB / 0.5625 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/0.6226, allocations: 1.745 MB / 0.5642 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6227, allocations: 43.06 kB / 0.5642 GB, free: 8.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/0.6227, allocations: 0 / 0.5642 GB, free: 8.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.009356/0.632, allocations: 3.333 MB / 0.5675 GB, free: 4.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.6322, allocations: 85.89 kB / 0.5676 GB, free: 4.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.6342, allocations: 1.349 MB / 0.5689 GB, free: 3.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.6343, allocations: 25.7 kB / 0.5689 GB, free: 3.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.6355, allocations: 1.694 MB / 0.5706 GB, free: 1.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.6358, allocations: 339.5 kB / 0.5709 GB, free: 1.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.6359, allocations: 4 kB / 0.5709 GB, free: 1.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.6361, allocations: 468.5 kB / 0.5714 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6371, allocations: 0.6576 MB / 0.572 GB, free: 284 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.6397, allocations: 2.236 MB / 0.5742 GB, free: 13.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.6414, allocations: 1.206 MB / 0.5754 GB, free: 12.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/0.6415, allocations: 16 kB / 0.5754 GB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.004411/0.6459, allocations: 2.61 MB / 0.5779 GB, free: 9.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.646, allocations: 28 kB / 0.5779 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-05/0.6461, allocations: 60 kB / 0.578 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.6463, allocations: 80.81 kB / 0.5781 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.6485, allocations: 0.6434 MB / 0.5787 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.6487, allocations: 111.6 kB / 0.5788 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.6504, allocations: 63.89 kB / 0.5789 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.6507, allocations: 167.9 kB / 0.579 GB, free: 8.266 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (356): * Single equations (assignments): 356 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003785/0.6511, allocations: 270.7 kB / 0.5793 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.6513, allocations: 150.1 kB / 0.5794 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.6533, allocations: 0.9547 MB / 0.5804 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6534, allocations: 12 kB / 0.5804 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6534, allocations: 4.031 kB / 0.5804 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6534, allocations: 3.984 kB / 0.5804 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/0.6617, allocations: 4.532 MB / 0.5848 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.6619, allocations: 16 kB / 0.5848 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.6625, allocations: 167.7 kB / 0.585 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.109e-05/0.6626, allocations: 24 kB / 0.585 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.6626, allocations: 24 kB / 0.585 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.633e-05/0.6627, allocations: 31.92 kB / 0.5851 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/0.6627, allocations: 24.31 kB / 0.5851 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.6654, allocations: 2.362 MB / 0.5874 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.6658, allocations: 235 kB / 0.5876 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.666, allocations: 23.98 kB / 0.5876 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.6666, allocations: 20 kB / 0.5877 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6667, allocations: 107.5 kB / 0.5878 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.6668, allocations: 47.98 kB / 0.5878 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.6682, allocations: 0.9045 MB / 0.5887 GB, free: 13.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6682, allocations: 0 / 0.5887 GB, free: 13.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002526/0.6707, allocations: 423.9 kB / 0.5891 GB, free: 12.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003779/0.6711, allocations: 166.4 kB / 0.5893 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.6736, allocations: 1.521 MB / 0.5907 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.6736, allocations: 4 kB / 0.5907 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.6741, allocations: 362.4 kB / 0.5911 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.6751, allocations: 183.1 kB / 0.5913 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.6826, allocations: 3.905 MB / 0.5951 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.6852, allocations: 2.207 MB / 0.5972 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002064/0.6873, allocations: 0.6584 MB / 0.5979 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.6875, allocations: 111.4 kB / 0.598 GB, free: 3.488 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6875, allocations: 0 / 0.598 GB, free: 3.488 MB / 410.7 MB Notification: Performance of Templates: time 0.02562/0.7132, allocations: 11.95 MB / 0.6097 GB, free: 7.57 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)