Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") [: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.002141/0.002141, allocations: 174.3 kB / 7.447 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.074/1.074, allocations: 170.6 MB / 178.4 MB, free: 15.71 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.00194/0.00194, allocations: 108.6 kB / 217.7 MB, free: 8.492 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.1984/0.1984, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.457e-06/9.477e-06, allocations: 5.344 kB / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 48.7 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5651, allocations: 93.62 MB / 491.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5655, allocations: 81.98 kB / 491.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2049/0.7704, allocations: 72.95 MB / 0.5516 GB, free: 1.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002645/0.7707, allocations: 71.91 kB / 0.5517 GB, free: 1.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01725/0.788, allocations: 3.783 MB / 0.5554 GB, free: 13.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.7881, allocations: 8.031 kB / 0.5554 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/0.7941, allocations: 0.6348 MB / 0.556 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008901/0.803, allocations: 2.211 MB / 0.5582 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.8034, allocations: 128 kB / 0.5583 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.8058, allocations: 216 kB / 0.5585 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01442/0.8202, allocations: 5.57 MB / 0.5639 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.8436, allocations: 7.212 MB / 0.571 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.8439, allocations: 15.81 kB / 0.571 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002171/0.8461, allocations: 15.98 kB / 0.571 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002256/0.8484, allocations: 0.8541 MB / 0.5718 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05935/0.9077, allocations: 27.73 MB / 0.5989 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.9108, allocations: 1.365 MB / 0.6003 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.9127, allocations: 1.029 MB / 0.6013 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/0.9262, allocations: 7.392 MB / 0.6085 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.9263, allocations: 51.16 kB / 0.6085 GB, free: 5.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 5.942e-06/0.9263, allocations: 0 / 0.6085 GB, free: 5.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.2492/1.176, allocations: 5.871 MB / 0.6143 GB, free: 145.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/1.176, allocations: 137.1 kB / 0.6144 GB, free: 145.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/1.179, allocations: 1.998 MB / 0.6163 GB, free: 145.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/1.179, allocations: 25.7 kB / 0.6164 GB, free: 145.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.181, allocations: 2.374 MB / 0.6187 GB, free: 144.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.181, allocations: 356.4 kB / 0.619 GB, free: 144.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.181, allocations: 0 / 0.619 GB, free: 144.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/1.181, allocations: 473.4 kB / 0.6195 GB, free: 144.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.183, allocations: 1.005 MB / 0.6205 GB, free: 144.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.185, allocations: 3.471 MB / 0.6238 GB, free: 141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/1.188, allocations: 1.88 MB / 0.6257 GB, free: 141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/1.188, allocations: 25.06 kB / 0.6257 GB, free: 141 MB / 426.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.00606/1.194, allocations: 3.935 MB / 0.6295 GB, free: 140.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.194, allocations: 3.969 kB / 0.6296 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.257e-05/1.194, allocations: 88.75 kB / 0.6296 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/1.194, allocations: 131.2 kB / 0.6298 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.197, allocations: 0.9601 MB / 0.6307 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001369/1.197, allocations: 171.2 kB / 0.6309 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.2, allocations: 108.7 kB / 0.631 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.201, allocations: 240.6 kB / 0.6312 GB, free: 140.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.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 (513): * Single equations (assignments): 513 * 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.0005013/1.201, allocations: 340.8 kB / 0.6315 GB, free: 140.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/1.202, allocations: 204.4 kB / 0.6317 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.203, allocations: 1.139 MB / 0.6328 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.203, allocations: 15.12 kB / 0.6328 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.203, allocations: 3.969 kB / 0.6328 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.203, allocations: 3.609 kB / 0.6328 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/1.211, allocations: 4.713 MB / 0.6375 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.211, allocations: 17.09 kB / 0.6375 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.211, allocations: 216.8 kB / 0.6377 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/1.211, allocations: 24.94 kB / 0.6377 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/1.212, allocations: 23.67 kB / 0.6377 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.042e-05/1.212, allocations: 37.36 kB / 0.6378 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.622e-05/1.212, allocations: 24.12 kB / 0.6378 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002317/1.214, allocations: 2.965 MB / 0.6407 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.214, allocations: 287.9 kB / 0.641 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.215, allocations: 24.86 kB / 0.641 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/1.216, allocations: 28.05 kB / 0.641 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.216, allocations: 111.2 kB / 0.6411 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/1.216, allocations: 52.08 kB / 0.6412 GB, free: 135.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001982/1.218, allocations: 1.313 MB / 0.6424 GB, free: 135.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003803/1.222, allocations: 0.579 MB / 0.643 GB, free: 135.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0004059/1.222, allocations: 173.7 kB / 0.6432 GB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003268/1.225, allocations: 2.311 MB / 0.6454 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.225, allocations: 7.812 kB / 0.6454 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/1.226, allocations: 0.5187 MB / 0.6459 GB, free: 135.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/1.227, allocations: 210 kB / 0.6461 GB, free: 135.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.237, allocations: 5.426 MB / 0.6514 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003321/1.24, allocations: 2.994 MB / 0.6544 GB, free: 132.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.858e-06/1.24, allocations: 0 / 0.6544 GB, free: 132.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0457/1.286, allocations: 18.6 MB / 0.6725 GB, free: 131.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)