Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") [: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.006266/0.006266, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.387/1.387, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001832/0.001832, allocations: 108.6 kB / 217.7 MB, free: 8.234 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.1731/0.1731, allocations: 37.97 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 1.281 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08828, allocations: 48.72 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.3646, allocations: 84.77 MB / 483 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.3648, allocations: 74.44 kB / 483.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08056/0.4454, allocations: 33.24 MB / 0.5042 GB, free: 3.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.783e-05/0.4455, allocations: 34.75 kB / 0.5042 GB, free: 3.512 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006109/0.4517, allocations: 2.155 MB / 0.5063 GB, free: 2.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4517, allocations: 8.438 kB / 0.5063 GB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.4543, allocations: 362.1 kB / 0.5067 GB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.4572, allocations: 1.121 MB / 0.5078 GB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4574, allocations: 62.34 kB / 0.5078 GB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/0.458, allocations: 114.4 kB / 0.5079 GB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004711/0.4627, allocations: 2.802 MB / 0.5107 GB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/0.4693, allocations: 3.82 MB / 0.5144 GB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.4694, allocations: 12.25 kB / 0.5144 GB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.4696, allocations: 7.062 kB / 0.5144 GB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.4707, allocations: 0.5306 MB / 0.515 GB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02097/0.4916, allocations: 15.61 MB / 0.5302 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4931, allocations: 0.8456 MB / 0.531 GB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.4939, allocations: 0.6716 MB / 0.5317 GB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005076/0.499, allocations: 3.599 MB / 0.5352 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.499, allocations: 38.55 kB / 0.5352 GB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.256e-06/0.499, allocations: 4 kB / 0.5352 GB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.003766/0.5028, allocations: 1.101 MB / 0.5363 GB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5029, allocations: 106.8 kB / 0.5364 GB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.5048, allocations: 1.29 MB / 0.5377 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.5048, allocations: 25.7 kB / 0.5377 GB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009367/0.5058, allocations: 1.405 MB / 0.5391 GB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.5059, allocations: 142.7 kB / 0.5392 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.506, allocations: 3.938 kB / 0.5392 GB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.5062, allocations: 439.6 kB / 0.5396 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.5069, allocations: 492.6 kB / 0.5401 GB, free: 9.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.5087, allocations: 2.069 MB / 0.5421 GB, free: 6.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.51, allocations: 0.979 MB / 0.5431 GB, free: 5.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.51, allocations: 20 kB / 0.5431 GB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.003265/0.5133, allocations: 2.132 MB / 0.5452 GB, free: 3.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5133, allocations: 8.031 kB / 0.5452 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/0.5134, allocations: 60 kB / 0.5452 GB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-05/0.5135, allocations: 84 kB / 0.5453 GB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5151, allocations: 0.5692 MB / 0.5459 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.307e-05/0.5152, allocations: 111.6 kB / 0.546 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.5167, allocations: 288.4 kB / 0.5463 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.5169, allocations: 148 kB / 0.5464 GB, free: 2.117 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (307): * Single equations (assignments): 307 * 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.0002715/0.5172, allocations: 262.2 kB / 0.5466 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5174, allocations: 122.4 kB / 0.5468 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.5176, allocations: 131.6 kB / 0.5469 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5176, allocations: 0 / 0.5469 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5177, allocations: 4 kB / 0.5469 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5177, allocations: 3.984 kB / 0.5469 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.5215, allocations: 2.57 MB / 0.5494 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.5215, allocations: 8 kB / 0.5494 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.5218, allocations: 75.84 kB / 0.5495 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.5218, allocations: 12 kB / 0.5495 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.5218, allocations: 12 kB / 0.5495 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.5218, allocations: 15.92 kB / 0.5495 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/0.5219, allocations: 19.84 kB / 0.5495 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001083/0.523, allocations: 1.199 MB / 0.5507 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.5232, allocations: 207.4 kB / 0.5509 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5234, allocations: 15.98 kB / 0.5509 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.5238, allocations: 12 kB / 0.5509 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.5239, allocations: 43.72 kB / 0.551 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.5239, allocations: 20 kB / 0.551 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001142/0.5251, allocations: 0.851 MB / 0.5518 GB, free: 11.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00186/0.5269, allocations: 449.7 kB / 0.5523 GB, free: 11.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002134/0.5272, allocations: 122.9 kB / 0.5524 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.5288, allocations: 1.166 MB / 0.5535 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5288, allocations: 4 kB / 0.5535 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.5291, allocations: 184.1 kB / 0.5537 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.5296, allocations: 114.9 kB / 0.5538 GB, free: 9.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.5343, allocations: 2.698 MB / 0.5564 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.5362, allocations: 1.841 MB / 0.5582 GB, free: 5.184 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5362, allocations: 4 kB / 0.5582 GB, free: 5.18 MB / 378.7 MB Notification: Performance of Templates: time 0.02106/0.5573, allocations: 9.267 MB / 0.5673 GB, free: 12.04 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)