Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00314/0.00314, allocations: 183.6 kB / 7.456 MB, free: 2.512 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.306/1.306, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001817/0.001817, allocations: 116.1 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.1847/0.1847, allocations: 39.93 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.354e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 54.88 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3036/0.4051, allocations: 101.3 MB / 0.5361 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4054, allocations: 72.41 kB / 0.5361 GB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2571/0.6625, allocations: 95.53 MB / 0.6294 GB, free: 7.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003672/0.6629, allocations: 88 kB / 0.6295 GB, free: 7.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01733/0.6803, allocations: 5.02 MB / 0.6344 GB, free: 2.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6803, allocations: 8.031 kB / 0.6344 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/0.6995, allocations: 4.193 MB / 0.6385 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/0.7168, allocations: 6.111 MB / 0.6445 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.7172, allocations: 148 kB / 0.6446 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.72, allocations: 275.9 kB / 0.6449 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01497/0.735, allocations: 7.656 MB / 0.6524 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.7588, allocations: 11.07 MB / 0.6632 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003469/0.7591, allocations: 75.3 kB / 0.6632 GB, free: 3.629 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/0.7612, allocations: 32 kB / 0.6633 GB, free: 3.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.7634, allocations: 1.347 MB / 0.6646 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.9805, allocations: 55.32 MB / 0.7186 GB, free: 128.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.9855, allocations: 4.441 MB / 0.7229 GB, free: 127.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/0.9888, allocations: 3.236 MB / 0.7261 GB, free: 127.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.006, allocations: 12.97 MB / 0.7388 GB, free: 121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/1.006, allocations: 49.12 kB / 0.7388 GB, free: 120.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.15e-06/1.006, allocations: 2.094 kB / 0.7388 GB, free: 120.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.06498/1.071, allocations: 27.72 MB / 0.7659 GB, free: 109 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.071, allocations: 205.9 kB / 0.7661 GB, free: 108.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/1.076, allocations: 3.344 MB / 0.7694 GB, free: 105.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005535/1.076, allocations: 25.7 kB / 0.7694 GB, free: 105.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.078, allocations: 3.229 MB / 0.7725 GB, free: 103.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/1.079, allocations: 0.9222 MB / 0.7734 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/1.079, allocations: 0 / 0.7734 GB, free: 102.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002896/1.079, allocations: 0.6068 MB / 0.774 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/1.083, allocations: 2.988 MB / 0.7769 GB, free: 99.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/1.087, allocations: 7.018 MB / 0.7838 GB, free: 90.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005185/1.093, allocations: 4.541 MB / 0.7882 GB, free: 87.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-05/1.093, allocations: 44 kB / 0.7883 GB, free: 86.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01995/1.113, allocations: 11.5 MB / 0.7995 GB, free: 77.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.113, allocations: 4 kB / 0.7995 GB, free: 77.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/1.113, allocations: 144 kB / 0.7996 GB, free: 77.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00885/1.122, allocations: 2.942 MB / 0.8025 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/1.127, allocations: 1.568 MB / 0.8041 GB, free: 73.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.146, allocations: 13.26 MB / 0.817 GB, free: 62.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006376/1.153, allocations: 277.1 kB / 0.8173 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.154, allocations: 423.5 kB / 0.8177 GB, free: 61.7 MB / 474.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.00117/1.155, allocations: 472.5 kB / 0.8181 GB, free: 61.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/1.156, allocations: 367.2 kB / 0.8185 GB, free: 60.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.169, allocations: 7.001 MB / 0.8253 GB, free: 55.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.089e-05/1.169, allocations: 27.7 kB / 0.8253 GB, free: 55.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/1.169, allocations: 8 kB / 0.8253 GB, free: 55.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/1.169, allocations: 18.67 kB / 0.8254 GB, free: 55.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.194, allocations: 13.8 MB / 0.8388 GB, free: 41.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.194, allocations: 0 / 0.8388 GB, free: 41.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.196, allocations: 359.4 kB / 0.8392 GB, free: 41.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007824/1.203, allocations: 2.623 MB / 0.8417 GB, free: 38.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/1.204, allocations: 4 kB / 0.8417 GB, free: 38.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.219, allocations: 11.92 MB / 0.8534 GB, free: 26.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.219, allocations: 0 / 0.8534 GB, free: 26.61 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0172/1.237, allocations: 11.09 MB / 0.8642 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.239, allocations: 0.8748 MB / 0.8651 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/1.24, allocations: 4 kB / 0.8651 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.242, allocations: 107.8 kB / 0.8652 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/1.242, allocations: 113.7 kB / 0.8653 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.242, allocations: 60 kB / 0.8653 GB, free: 14.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003022/1.245, allocations: 2.249 MB / 0.8675 GB, free: 12.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00554/1.251, allocations: 1.121 MB / 0.8686 GB, free: 10.89 MB / 474.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.0004771/1.251, allocations: 141.5 kB / 0.8688 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.262, allocations: 7.491 MB / 0.8761 GB, free: 3.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.262, allocations: 0 / 0.8761 GB, free: 3.273 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.266, allocations: 2.891 MB / 0.8789 GB, free: 384 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.268, allocations: 365 kB / 0.8793 GB, free: 28 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1924/1.46, allocations: 9.878 MB / 0.8889 GB, free: 147.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004705/1.465, allocations: 4.048 MB / 0.8929 GB, free: 146.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/1.465, allocations: 3.75 kB / 0.8929 GB, free: 146.3 MB / 474.7 MB Notification: Performance of Templates: time 0.09638/1.561, allocations: 54.98 MB / 0.9466 GB, free: 136.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)