Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004428/0.004428, allocations: 180.4 kB / 7.454 MB, free: 2.512 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.361/1.361, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001686/0.001686, allocations: 107.9 kB / 217.7 MB, free: 8.148 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.15/0.15, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.053e-06, allocations: 1.688 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08329, allocations: 48.7 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.3485, allocations: 92.7 MB / 490.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.3488, allocations: 76.61 kB / 491 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1571/0.5059, allocations: 54.24 MB / 0.5325 GB, free: 4.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.5061, allocations: 55.94 kB / 0.5325 GB, free: 4.191 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.0116/0.5178, allocations: 2.596 MB / 0.535 GB, free: 1.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/0.5179, allocations: 12.03 kB / 0.5351 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.5228, allocations: 431.9 kB / 0.5355 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007558/0.5304, allocations: 1.549 MB / 0.537 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.5307, allocations: 92 kB / 0.5371 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/0.5325, allocations: 163.9 kB / 0.5372 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01208/0.5446, allocations: 3.886 MB / 0.541 GB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.5599, allocations: 5.026 MB / 0.5459 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.5601, allocations: 19.81 kB / 0.5459 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005348/0.5607, allocations: 8 kB / 0.5459 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001639/0.5623, allocations: 0.532 MB / 0.5465 GB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04198/0.6043, allocations: 20.21 MB / 0.5662 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.6057, allocations: 0.83 MB / 0.567 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/0.6065, allocations: 0.6469 MB / 0.5676 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006351/0.6129, allocations: 4.661 MB / 0.5722 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.613, allocations: 39 kB / 0.5722 GB, free: 10.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 3.005e-06/0.613, allocations: 4 kB / 0.5722 GB, free: 10.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.01889/0.6319, allocations: 5.647 MB / 0.5778 GB, free: 4.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.632, allocations: 85.89 kB / 0.5778 GB, free: 4.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.6347, allocations: 1.429 MB / 0.5792 GB, free: 3.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.6348, allocations: 29.64 kB / 0.5793 GB, free: 3.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.6359, allocations: 1.627 MB / 0.5808 GB, free: 1.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.6363, allocations: 331.6 kB / 0.5812 GB, free: 1.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.6364, allocations: 0 / 0.5812 GB, free: 1.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.6367, allocations: 476.7 kB / 0.5816 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.638, allocations: 0.8686 MB / 0.5825 GB, free: 15.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.6402, allocations: 2.504 MB / 0.5849 GB, free: 12.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.6432, allocations: 1.678 MB / 0.5865 GB, free: 10.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.6432, allocations: 16 kB / 0.5866 GB, free: 10.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.006291/0.6495, allocations: 3.276 MB / 0.5898 GB, free: 7.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6496, allocations: 4.219 kB / 0.5898 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/0.6497, allocations: 64 kB / 0.5898 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-05/0.6497, allocations: 88 kB / 0.5899 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.6523, allocations: 0.6862 MB / 0.5906 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.278e-05/0.6524, allocations: 119.5 kB / 0.5907 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.6542, allocations: 83.78 kB / 0.5908 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.6544, allocations: 176 kB / 0.5909 GB, free: 6.379 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (366): * Single equations (assignments): 366 * 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.0003782/0.6548, allocations: 266.5 kB / 0.5912 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.6551, allocations: 154 kB / 0.5913 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.6579, allocations: 1.504 MB / 0.5928 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.6579, allocations: 8 kB / 0.5928 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6579, allocations: 3.938 kB / 0.5928 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6579, allocations: 3.984 kB / 0.5928 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007525/0.6655, allocations: 4.129 MB / 0.5969 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6655, allocations: 4 kB / 0.5969 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6666, allocations: 183.8 kB / 0.597 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.6666, allocations: 8 kB / 0.597 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.6667, allocations: 15.94 kB / 0.5971 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/0.6667, allocations: 16.27 kB / 0.5971 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6667, allocations: 11.91 kB / 0.5971 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002495/0.6692, allocations: 1.832 MB / 0.5989 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.6695, allocations: 219.1 kB / 0.5991 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.6697, allocations: 8 kB / 0.5991 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/0.6705, allocations: 23.97 kB / 0.5991 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6706, allocations: 60.42 kB / 0.5992 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.6707, allocations: 36 kB / 0.5992 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001417/0.6721, allocations: 0.9601 MB / 0.6001 GB, free: 12.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002241/0.6744, allocations: 479.9 kB / 0.6006 GB, free: 12.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0003928/0.6748, allocations: 170.4 kB / 0.6008 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.6778, allocations: 2.014 MB / 0.6027 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6778, allocations: 4.25 kB / 0.6027 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.6785, allocations: 0.5723 MB / 0.6033 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.6793, allocations: 150.3 kB / 0.6034 GB, free: 9.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/0.6873, allocations: 3.926 MB / 0.6073 GB, free: 5.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/0.6904, allocations: 2.348 MB / 0.6096 GB, free: 2.805 MB / 426.7 MB Notification: Performance of SimCode: time 1.103e-06/0.6905, allocations: 0 / 0.6096 GB, free: 2.805 MB / 426.7 MB Notification: Performance of Templates: time 0.1402/0.8307, allocations: 17.33 MB / 0.6265 GB, free: 151.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)