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.004878/0.004878, allocations: 165.7 kB / 15.11 MB, free: 5.973 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.22/1.22, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.00155/0.00155, allocations: 106.6 kB / 226.2 MB, free: 10.11 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.3349/0.3349, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 12 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 48.71 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.577, allocations: 92.48 MB / 0.4922 GB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5774, allocations: 78.02 kB / 0.4923 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1574/0.7347, allocations: 54.5 MB / 0.5455 GB, free: 9.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.368e-06/0.7348, allocations: 0 / 0.5455 GB, free: 9.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.735, allocations: 48 kB / 0.5456 GB, free: 9.789 MB / 394.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.008517/0.7435, allocations: 2.489 MB / 0.548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.932e-05/0.7436, allocations: 12.03 kB / 0.548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.7465, allocations: 483.7 kB / 0.5485 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.7509, allocations: 1.516 MB / 0.55 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.7511, allocations: 217.7 kB / 0.5502 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000651/0.7518, allocations: 280 kB / 0.5504 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.766, allocations: 5.998 MB / 0.5563 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.7661, allocations: 12.91 kB / 0.5563 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.7665, allocations: 124 kB / 0.5564 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008365/0.7673, allocations: 484 kB / 0.5569 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/0.779, allocations: 4.567 MB / 0.5614 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.8115, allocations: 19.86 MB / 0.5807 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.8159, allocations: 1.258 MB / 0.582 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.8179, allocations: 2.073 MB / 0.584 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.818, allocations: 51.08 kB / 0.5841 GB, free: 1.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.319e-06/0.818, allocations: 4 kB / 0.5841 GB, free: 1.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.2983/1.116, allocations: 6.605 MB / 0.5905 GB, free: 100.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/1.116, allocations: 89.02 kB / 0.5906 GB, free: 100.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/1.119, allocations: 1.606 MB / 0.5922 GB, free: 100.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/1.119, allocations: 44.98 kB / 0.5922 GB, free: 100.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008903/1.12, allocations: 1.642 MB / 0.5938 GB, free: 99.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/1.12, allocations: 406 kB / 0.5942 GB, free: 99.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.12, allocations: 56.09 kB / 0.5942 GB, free: 99.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/1.12, allocations: 425.6 kB / 0.5947 GB, free: 98.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.122, allocations: 0.7843 MB / 0.5954 GB, free: 98.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.123, allocations: 2.325 MB / 0.5977 GB, free: 96.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.125, allocations: 1.322 MB / 0.599 GB, free: 96.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-05/1.126, allocations: 16.41 kB / 0.599 GB, free: 96.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.006284/1.132, allocations: 3.114 MB / 0.602 GB, free: 96.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/1.132, allocations: 28.78 kB / 0.6021 GB, free: 96.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.298e-05/1.132, allocations: 57.22 kB / 0.6021 GB, free: 96.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/1.132, allocations: 87.42 kB / 0.6022 GB, free: 96.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/1.134, allocations: 0.6471 MB / 0.6028 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.044e-05/1.134, allocations: 107.7 kB / 0.6029 GB, free: 96.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.136, allocations: 119.3 kB / 0.603 GB, free: 96.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.136, allocations: 158.7 kB / 0.6032 GB, free: 96.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 359 * 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.002425/1.139, allocations: 1.196 MB / 0.6044 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.139, allocations: 167.5 kB / 0.6045 GB, free: 96.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/1.142, allocations: 1.257 MB / 0.6058 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.142, allocations: 12.78 kB / 0.6058 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.142, allocations: 0 / 0.6058 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.142, allocations: 7.125 kB / 0.6058 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.153, allocations: 6.442 MB / 0.6121 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.153, allocations: 21.06 kB / 0.6121 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/1.154, allocations: 204.9 kB / 0.6123 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/1.154, allocations: 33.55 kB / 0.6123 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/1.154, allocations: 42.34 kB / 0.6124 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-05/1.154, allocations: 38.28 kB / 0.6124 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/1.154, allocations: 29.5 kB / 0.6124 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/1.157, allocations: 3.181 MB / 0.6155 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006549/1.157, allocations: 271.6 kB / 0.6158 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.157, allocations: 51.84 kB / 0.6158 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/1.158, allocations: 38.23 kB / 0.6159 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.158, allocations: 135.8 kB / 0.616 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.158, allocations: 50.78 kB / 0.616 GB, free: 91.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001828/1.16, allocations: 1.197 MB / 0.6172 GB, free: 91.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 0.6172 GB, free: 91.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00443/1.165, allocations: 0.4929 MB / 0.6177 GB, free: 91.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * 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 (109): * Single equations (assignments): 109 * 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.0006184/1.165, allocations: 202.8 kB / 0.6179 GB, free: 90.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005175/1.171, allocations: 1.816 MB / 0.6197 GB, free: 90.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/1.171, allocations: 6.5 kB / 0.6197 GB, free: 90.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/1.172, allocations: 484.5 kB / 0.6201 GB, free: 90.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.173, allocations: 257.8 kB / 0.6204 GB, free: 90.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.191, allocations: 6.215 MB / 0.6264 GB, free: 86.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/1.197, allocations: 2.237 MB / 0.6286 GB, free: 85.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00309/1.2, allocations: 0.7067 MB / 0.6293 GB, free: 85.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/1.2, allocations: 134 kB / 0.6294 GB, free: 85.26 MB / 426.7 MB Notification: Performance of SimCode: time 2.354e-06/1.2, allocations: 0 / 0.6294 GB, free: 85.26 MB / 426.7 MB Notification: Performance of Templates: time 0.03842/1.239, allocations: 15.39 MB / 0.6445 GB, free: 84.45 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)