Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [: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.003991/0.003991, allocations: 186 kB / 7.461 MB, free: 2.504 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.182/1.182, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.001803/0.001803, allocations: 126 kB / 247.1 MB, free: 6.371 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.1732/0.1732, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.961e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4318, allocations: 108 MB / 0.5426 GB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4321, allocations: 74.09 kB / 0.5427 GB, free: 8.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5572/0.9893, allocations: 137.4 MB / 0.6769 GB, free: 91.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005676/0.9899, allocations: 133.1 kB / 0.677 GB, free: 91.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.01886/1.009, allocations: 6.536 MB / 0.6834 GB, free: 88.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.009, allocations: 9.969 kB / 0.6834 GB, free: 88.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03405/1.043, allocations: 8.939 MB / 0.6921 GB, free: 88.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/1.065, allocations: 9.187 MB / 0.7011 GB, free: 87.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/1.065, allocations: 206.4 kB / 0.7013 GB, free: 87.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/1.068, allocations: 382.8 kB / 0.7016 GB, free: 87.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01615/1.084, allocations: 9.67 MB / 0.7111 GB, free: 87.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.11, allocations: 13.57 MB / 0.7243 GB, free: 84.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003997/1.111, allocations: 78.95 kB / 0.7244 GB, free: 84.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/1.113, allocations: 35.59 kB / 0.7244 GB, free: 84.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002012/1.115, allocations: 1.483 MB / 0.7259 GB, free: 84.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07557/1.19, allocations: 63.7 MB / 0.7881 GB, free: 40.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/1.196, allocations: 4.295 MB / 0.7923 GB, free: 37.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/1.2, allocations: 3.359 MB / 0.7956 GB, free: 34.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/1.217, allocations: 12.37 MB / 0.8077 GB, free: 23.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.217, allocations: 60.56 kB / 0.8077 GB, free: 23.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 5.892e-06/1.217, allocations: 0 / 0.8077 GB, free: 23.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=338): time 0.06957/1.287, allocations: 27.27 MB / 0.8343 GB, free: 440 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.287, allocations: 245.2 kB / 0.8346 GB, free: 144 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.298, allocations: 4.533 MB / 0.839 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008699/1.299, allocations: 33.64 kB / 0.839 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003757/1.302, allocations: 4.01 MB / 0.843 GB, free: 8.891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.304, allocations: 1.19 MB / 0.8441 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/1.305, allocations: 0 / 0.8441 GB, free: 7.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005473/1.305, allocations: 0.6692 MB / 0.8448 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005469/1.311, allocations: 3.518 MB / 0.8482 GB, free: 4.031 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.194/1.505, allocations: 8.154 MB / 0.8562 GB, free: 138 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00784/1.513, allocations: 5.337 MB / 0.8614 GB, free: 138 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.957e-05/1.513, allocations: 50.31 kB / 0.8614 GB, free: 138 MB / 490.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02914/1.542, allocations: 13.59 MB / 0.8747 GB, free: 137.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.542, allocations: 4.531 kB / 0.8747 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/1.542, allocations: 168.3 kB / 0.8749 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/1.554, allocations: 3.36 MB / 0.8781 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006957/1.561, allocations: 1.825 MB / 0.8799 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/1.583, allocations: 16.06 MB / 0.8956 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006867/1.59, allocations: 271.4 kB / 0.8959 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.592, allocations: 484.4 kB / 0.8963 GB, free: 136.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 748 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 992 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001365/1.593, allocations: 0.5032 MB / 0.8968 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008707/1.594, allocations: 0.4988 MB / 0.8973 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.611, allocations: 8.495 MB / 0.9056 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.944e-05/1.611, allocations: 32.09 kB / 0.9056 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.611, allocations: 13.91 kB / 0.9056 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-05/1.611, allocations: 13.59 kB / 0.9057 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.648, allocations: 17.12 MB / 0.9224 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/1.648, allocations: 7.188 kB / 0.9224 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/1.65, allocations: 460.4 kB / 0.9228 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.661, allocations: 2.975 MB / 0.9257 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006725/1.662, allocations: 15.34 kB / 0.9257 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/1.681, allocations: 13.99 MB / 0.9394 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.681, allocations: 11.88 kB / 0.9394 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0221/1.703, allocations: 13.93 MB / 0.953 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.706, allocations: 1.057 MB / 0.9541 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/1.707, allocations: 8 kB / 0.9541 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.709, allocations: 107.5 kB / 0.9542 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/1.71, allocations: 167 kB / 0.9543 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.71, allocations: 88 kB / 0.9544 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.004536/1.715, allocations: 3.041 MB / 0.9574 GB, free: 110.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009053/1.724, allocations: 1.422 MB / 0.9588 GB, free: 108.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 250 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/1.725, allocations: 198.5 kB / 0.959 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01355/1.738, allocations: 8.48 MB / 0.9672 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.373e-05/1.738, allocations: 4 kB / 0.9672 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.743, allocations: 3.292 MB / 0.9705 GB, free: 97.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.747, allocations: 0.5491 MB / 0.971 GB, free: 97.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.771, allocations: 13.06 MB / 0.9838 GB, free: 85.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007182/1.778, allocations: 5.31 MB / 0.9889 GB, free: 81.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/1.778, allocations: 0 / 0.9889 GB, free: 81.49 MB / 490.7 MB Notification: Performance of Templates: time 0.29/2.068, allocations: 70.78 MB / 1.058 GB, free: 132.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)