Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") [: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.004007/0.004007, allocations: 175.2 kB / 7.451 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.483/1.483, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001726/0.001726, allocations: 107.9 kB / 217.7 MB, free: 8.582 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.2338/0.2338, allocations: 37.98 MB / 294.8 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 1.125 kB / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09861, allocations: 48.72 MB / 398.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4334, allocations: 94.43 MB / 492.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.4337, allocations: 72.42 kB / 492.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2506/0.6843, allocations: 95.42 MB / 0.5744 GB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003012/0.6846, allocations: 92 kB / 0.5744 GB, free: 10.48 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01672/0.7014, allocations: 5.018 MB / 0.5793 GB, free: 5.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7014, allocations: 8.031 kB / 0.5794 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.7205, allocations: 4.186 MB / 0.5834 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/0.7401, allocations: 6.11 MB / 0.5894 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.7405, allocations: 148 kB / 0.5895 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003842/0.7444, allocations: 279.9 kB / 0.5898 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01727/0.7617, allocations: 7.652 MB / 0.5973 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.7905, allocations: 11.06 MB / 0.6081 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003823/0.7909, allocations: 71.31 kB / 0.6082 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002389/0.7933, allocations: 39.94 kB / 0.6082 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.7956, allocations: 1.346 MB / 0.6095 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3049/1.101, allocations: 55.29 MB / 0.6635 GB, free: 51.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/1.106, allocations: 4.444 MB / 0.6678 GB, free: 50.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/1.11, allocations: 3.234 MB / 0.671 GB, free: 50.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02064/1.131, allocations: 12.97 MB / 0.6837 GB, free: 46.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.131, allocations: 54.34 kB / 0.6837 GB, free: 46.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.825e-06/1.131, allocations: 3.688 kB / 0.6837 GB, free: 46.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.07108/1.202, allocations: 27.7 MB / 0.7108 GB, free: 36.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/1.202, allocations: 205.2 kB / 0.711 GB, free: 36.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00686/1.209, allocations: 3.344 MB / 0.7142 GB, free: 34.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006363/1.209, allocations: 28.14 kB / 0.7143 GB, free: 34.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.211, allocations: 3.232 MB / 0.7174 GB, free: 31.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.213, allocations: 0.9221 MB / 0.7183 GB, free: 30.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009938/1.214, allocations: 0 / 0.7183 GB, free: 30.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006462/1.214, allocations: 0.6022 MB / 0.7189 GB, free: 30.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/1.219, allocations: 2.991 MB / 0.7218 GB, free: 27.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/1.226, allocations: 7.016 MB / 0.7287 GB, free: 18.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007505/1.234, allocations: 4.541 MB / 0.7331 GB, free: 15.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/1.234, allocations: 44 kB / 0.7332 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02582/1.26, allocations: 11.5 MB / 0.7444 GB, free: 5.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.26, allocations: 8 kB / 0.7444 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003605/1.26, allocations: 144 kB / 0.7445 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009138/1.269, allocations: 2.939 MB / 0.7474 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006345/1.276, allocations: 1.577 MB / 0.7489 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/1.301, allocations: 13.28 MB / 0.7619 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007295/1.309, allocations: 281.7 kB / 0.7622 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.311, allocations: 423.2 kB / 0.7626 GB, free: 5.906 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002444/1.313, allocations: 470.8 kB / 0.763 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.315, allocations: 379.1 kB / 0.7634 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/1.333, allocations: 7.028 MB / 0.7703 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001305/1.333, allocations: 27.94 kB / 0.7703 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/1.333, allocations: 8 kB / 0.7703 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-05/1.333, allocations: 15.58 kB / 0.7703 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03396/1.367, allocations: 13.79 MB / 0.7838 GB, free: 2.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.367, allocations: 4 kB / 0.7838 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.37, allocations: 355.5 kB / 0.7841 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2101/1.58, allocations: 2.618 MB / 0.7867 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005761/1.58, allocations: 17.53 kB / 0.7867 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/1.597, allocations: 11.9 MB / 0.7983 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.597, allocations: 3.844 kB / 0.7983 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01836/1.616, allocations: 11.1 MB / 0.8092 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.618, allocations: 0.8716 MB / 0.81 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.619, allocations: 9.094 kB / 0.81 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.622, allocations: 105.3 kB / 0.8101 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.622, allocations: 109.7 kB / 0.8102 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.622, allocations: 62.17 kB / 0.8103 GB, free: 102.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.003211/1.626, allocations: 2.25 MB / 0.8125 GB, free: 102.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005638/1.631, allocations: 1.116 MB / 0.8136 GB, free: 102.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/1.632, allocations: 145.2 kB / 0.8137 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.643, allocations: 7.471 MB / 0.821 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.643, allocations: 3.938 kB / 0.821 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004262/1.647, allocations: 2.9 MB / 0.8238 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.65, allocations: 357.9 kB / 0.8242 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.67, allocations: 9.874 MB / 0.8338 GB, free: 99.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005085/1.675, allocations: 4.051 MB / 0.8378 GB, free: 98.5 MB / 458.7 MB Notification: Performance of SimCode: time 9.61e-07/1.675, allocations: 2.438 kB / 0.8378 GB, free: 98.5 MB / 458.7 MB Notification: Performance of Templates: time 0.09628/1.771, allocations: 54.99 MB / 0.8915 GB, free: 65.51 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)