Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") [: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.2+maint.om/package.mo): time 0.004135/0.004135, allocations: 185.6 kB / 7.459 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.252/1.252, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001746/0.001746, allocations: 117.5 kB / 247.1 MB, free: 6.363 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.1743/0.1743, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.204e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09371, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/0.3908, allocations: 98.17 MB / 0.533 GB, free: 2.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3911, allocations: 72.16 kB / 0.5331 GB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1301/0.5212, allocations: 52.54 MB / 0.5844 GB, free: 5.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.5214, allocations: 55.98 kB / 0.5845 GB, free: 5.832 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.007745/0.5291, allocations: 2.389 MB / 0.5868 GB, free: 3.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5292, allocations: 8.031 kB / 0.5868 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.5324, allocations: 431.9 kB / 0.5872 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.5368, allocations: 1.524 MB / 0.5887 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.537, allocations: 96 kB / 0.5888 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.538, allocations: 167.9 kB / 0.5889 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00706/0.5451, allocations: 3.461 MB / 0.5923 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.5551, allocations: 4.698 MB / 0.5969 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-05/0.5553, allocations: 15.88 kB / 0.5969 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005914/0.5559, allocations: 8 kB / 0.5969 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009426/0.5568, allocations: 0.4928 MB / 0.5974 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.5842, allocations: 18.34 MB / 0.6153 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5856, allocations: 0.6108 MB / 0.6159 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.5861, allocations: 331.1 kB / 0.6162 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.5879, allocations: 1.754 MB / 0.618 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.588, allocations: 51.05 kB / 0.618 GB, free: 2.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.506e-06/0.588, allocations: 0 / 0.618 GB, free: 2.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01227/0.6003, allocations: 3.995 MB / 0.6219 GB, free: 14.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6004, allocations: 89.89 kB / 0.622 GB, free: 14.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.6024, allocations: 1.373 MB / 0.6233 GB, free: 12.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.6024, allocations: 25.7 kB / 0.6234 GB, free: 12.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.6034, allocations: 1.592 MB / 0.6249 GB, free: 11.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.6038, allocations: 351.3 kB / 0.6253 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.6038, allocations: 0 / 0.6253 GB, free: 10.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.6041, allocations: 468.5 kB / 0.6257 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009942/0.6051, allocations: 0.7044 MB / 0.6264 GB, free: 9.531 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6073, allocations: 2.276 MB / 0.6286 GB, free: 6.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.6095, allocations: 1.44 MB / 0.63 GB, free: 5.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/0.6096, allocations: 20 kB / 0.63 GB, free: 5 MB / 442.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.004902/0.6145, allocations: 2.843 MB / 0.6328 GB, free: 2.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6145, allocations: 8 kB / 0.6328 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/0.6146, allocations: 56 kB / 0.6329 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.264e-05/0.6147, allocations: 84 kB / 0.633 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.6167, allocations: 0.6472 MB / 0.6336 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-05/0.6168, allocations: 111.6 kB / 0.6337 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6182, allocations: 67.92 kB / 0.6338 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.6185, allocations: 164 kB / 0.6339 GB, free: 1.023 MB / 442.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.0004677/0.619, allocations: 266.6 kB / 0.6342 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.6193, allocations: 146.1 kB / 0.6343 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.6227, allocations: 1.199 MB / 0.6355 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.6227, allocations: 11.91 kB / 0.6355 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6227, allocations: 0 / 0.6355 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6227, allocations: 11.97 kB / 0.6355 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.6331, allocations: 4.611 MB / 0.64 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.6332, allocations: 16 kB / 0.64 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6342, allocations: 172.5 kB / 0.6402 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-05/0.6343, allocations: 20 kB / 0.6402 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/0.6344, allocations: 24 kB / 0.6402 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-05/0.6344, allocations: 27.86 kB / 0.6402 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-05/0.6345, allocations: 23.88 kB / 0.6403 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003933/0.6384, allocations: 2.394 MB / 0.6426 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.6389, allocations: 223.2 kB / 0.6428 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.6392, allocations: 23.98 kB / 0.6428 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000943/0.6402, allocations: 16 kB / 0.6429 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.6403, allocations: 87.58 kB / 0.6429 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6405, allocations: 48 kB / 0.643 GB, free: 6.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001842/0.6423, allocations: 0.9202 MB / 0.6439 GB, free: 5.824 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002331/0.6447, allocations: 435.9 kB / 0.6443 GB, free: 5.398 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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.0004066/0.6451, allocations: 178.8 kB / 0.6445 GB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.6488, allocations: 1.651 MB / 0.6461 GB, free: 3.574 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6488, allocations: 2.562 kB / 0.6461 GB, free: 3.574 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008234/0.6497, allocations: 430.9 kB / 0.6465 GB, free: 3.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.6511, allocations: 169.1 kB / 0.6467 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.6621, allocations: 3.946 MB / 0.6505 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/0.6653, allocations: 2.343 MB / 0.6528 GB, free: 12.42 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6653, allocations: 4 kB / 0.6528 GB, free: 12.42 MB / 474.7 MB Notification: Performance of Templates: time 0.1817/0.8471, allocations: 14.04 MB / 0.6665 GB, free: 185.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)