Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") [: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.004706/0.004706, allocations: 175.2 kB / 7.451 MB, free: 2.34 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.312/1.312, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001809/0.001809, allocations: 113.1 kB / 217.7 MB, free: 8.172 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.1659/0.1659, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.137e-06, allocations: 1.094 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 48.71 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4997, allocations: 87.47 MB / 485.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5001, allocations: 65.31 kB / 485.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1622/0.6624, allocations: 56.04 MB / 0.5291 GB, free: 6.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001733/0.6626, allocations: 44 kB / 0.5291 GB, free: 5.961 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.0112/0.6738, allocations: 2.551 MB / 0.5316 GB, free: 3.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.76e-05/0.6739, allocations: 12.03 kB / 0.5316 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00922/0.6831, allocations: 1.577 MB / 0.5332 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.694, allocations: 3.397 MB / 0.5365 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.6942, allocations: 76 kB / 0.5366 GB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.696, allocations: 145.2 kB / 0.5367 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00925/0.7052, allocations: 4.086 MB / 0.5407 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.7221, allocations: 6.37 MB / 0.5469 GB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.7223, allocations: 51.53 kB / 0.547 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.7236, allocations: 24 kB / 0.547 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001424/0.725, allocations: 0.7576 MB / 0.5477 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/0.7702, allocations: 32.73 MB / 0.5797 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.7733, allocations: 2.083 MB / 0.5817 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.7749, allocations: 1.128 MB / 0.5828 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00798/0.7829, allocations: 3.655 MB / 0.5864 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.783, allocations: 46.83 kB / 0.5864 GB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 8.165e-06/0.7831, allocations: 4 kB / 0.5864 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01669/0.7998, allocations: 6.233 MB / 0.5925 GB, free: 3.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.8, allocations: 144.9 kB / 0.5927 GB, free: 3.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006053/0.806, allocations: 2.203 MB / 0.5948 GB, free: 1.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.8062, allocations: 25.7 kB / 0.5948 GB, free: 1.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.8085, allocations: 2.065 MB / 0.5968 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/0.8092, allocations: 418.8 kB / 0.5972 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.8098, allocations: 0 / 0.5972 GB, free: 14.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005856/0.8104, allocations: 0.5554 MB / 0.5978 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.8126, allocations: 1.329 MB / 0.5991 GB, free: 12.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.8171, allocations: 4.269 MB / 0.6033 GB, free: 7.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.8207, allocations: 2.396 MB / 0.6056 GB, free: 4.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-05/0.8207, allocations: 32 kB / 0.6056 GB, free: 4.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.008631/0.8294, allocations: 4.88 MB / 0.6104 GB, free: 15.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.8294, allocations: 4 kB / 0.6104 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.8296, allocations: 108 kB / 0.6105 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.8297, allocations: 156 kB / 0.6106 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.8332, allocations: 1.088 MB / 0.6117 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.8334, allocations: 207.2 kB / 0.6119 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/0.8368, allocations: 179.6 kB / 0.6121 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.8372, allocations: 296.4 kB / 0.6124 GB, free: 13.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 563 * Array equations: 3 * 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.0004882/0.8377, allocations: 360.1 kB / 0.6127 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.8381, allocations: 221.2 kB / 0.6129 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.8403, allocations: 1.207 MB / 0.6141 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.8403, allocations: 12 kB / 0.6141 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8403, allocations: 3.938 kB / 0.6141 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.8403, allocations: 3.984 kB / 0.6141 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/0.8465, allocations: 3.224 MB / 0.6173 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8465, allocations: 0 / 0.6173 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.8476, allocations: 175.7 kB / 0.6174 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.8476, allocations: 4 kB / 0.6174 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.8478, allocations: 8 kB / 0.6174 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.8478, allocations: 7.875 kB / 0.6174 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8479, allocations: 11.91 kB / 0.6175 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002963/0.8508, allocations: 1.984 MB / 0.6194 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/0.8517, allocations: 418 kB / 0.6198 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.852, allocations: 4 kB / 0.6198 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/0.853, allocations: 43.94 kB / 0.6198 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.8532, allocations: 52.22 kB / 0.6199 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.8533, allocations: 31.98 kB / 0.6199 GB, free: 5.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002553/0.8558, allocations: 1.456 MB / 0.6213 GB, free: 4.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004015/0.8598, allocations: 0.5507 MB / 0.6219 GB, free: 3.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 3 * 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.0004584/0.8603, allocations: 150.1 kB / 0.622 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005112/0.8654, allocations: 3.043 MB / 0.625 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8655, allocations: 0 / 0.625 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8665, allocations: 0.7562 MB / 0.6257 GB, free: 8 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2117/1.078, allocations: 195.8 kB / 0.6259 GB, free: 167.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/1.088, allocations: 4.359 MB / 0.6302 GB, free: 166.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.091, allocations: 2.456 MB / 0.6326 GB, free: 165.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.011e-06/1.091, allocations: 0 / 0.6326 GB, free: 165.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04204/1.133, allocations: 21.41 MB / 0.6535 GB, free: 164.6 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe 2>&1)