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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005367/0.005367, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.726/1.726, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001779/0.001779, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2063/0.2063, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 9.812 kB / 406.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.542, allocations: 108.8 MB / 0.5565 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5422, allocations: 84.66 kB / 0.5566 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3363/0.8786, allocations: 142.2 MB / 0.6955 GB, free: 10.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.8786, allocations: 3.984 kB / 0.6955 GB, free: 10.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003536/0.879, allocations: 128 kB / 0.6956 GB, free: 10.34 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.02136/0.9004, allocations: 7.294 MB / 0.7027 GB, free: 2.961 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.9004, allocations: 8.031 kB / 0.7027 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/0.9366, allocations: 9.324 MB / 0.7119 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02713/0.9638, allocations: 9.159 MB / 0.7208 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2508/1.215, allocations: 477 kB / 0.7213 GB, free: 88.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00378/1.219, allocations: 0.6364 MB / 0.7219 GB, free: 88.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04264/1.261, allocations: 15.63 MB / 0.7371 GB, free: 85.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005538/1.262, allocations: 86.25 kB / 0.7372 GB, free: 85.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/1.264, allocations: 297.2 kB / 0.7375 GB, free: 85.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/1.266, allocations: 1.382 MB / 0.7389 GB, free: 85.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/1.293, allocations: 12.89 MB / 0.7514 GB, free: 85.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07844/1.371, allocations: 64.35 MB / 0.8143 GB, free: 46.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/1.388, allocations: 6.276 MB / 0.8204 GB, free: 44.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02074/1.409, allocations: 11.18 MB / 0.8313 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.409, allocations: 55.47 kB / 0.8314 GB, free: 38.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 7.114e-06/1.409, allocations: 0 / 0.8314 GB, free: 38.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=337): time 0.1249/1.534, allocations: 37.34 MB / 0.8678 GB, free: 21.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.534, allocations: 243.9 kB / 0.8681 GB, free: 20.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.546, allocations: 4.985 MB / 0.8729 GB, free: 16.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009201/1.547, allocations: 73.7 kB / 0.873 GB, free: 16.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003573/1.55, allocations: 4.465 MB / 0.8774 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.552, allocations: 1.23 MB / 0.8786 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007181/1.553, allocations: 164 kB / 0.8787 GB, free: 11.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/1.553, allocations: 0.6492 MB / 0.8794 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.558, allocations: 3.6 MB / 0.8829 GB, free: 7.922 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007599/1.566, allocations: 8.119 MB / 0.8908 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009121/1.575, allocations: 5.309 MB / 0.896 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.575, allocations: 44 kB / 0.896 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.3064/1.882, allocations: 14.95 MB / 0.9106 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/1.882, allocations: 73.2 kB / 0.9107 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003588/1.882, allocations: 161 kB / 0.9109 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/1.896, allocations: 3.573 MB / 0.9144 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/1.902, allocations: 1.797 MB / 0.9161 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/1.93, allocations: 18.64 MB / 0.9343 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/1.937, allocations: 489.9 kB / 0.9348 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/1.939, allocations: 475.3 kB / 0.9352 GB, free: 85.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (969): * Single equations (assignments): 965 * 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.006838/1.946, allocations: 3.113 MB / 0.9383 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.947, allocations: 0.5225 MB / 0.9388 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/1.967, allocations: 8.894 MB / 0.9475 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-05/1.967, allocations: 35.23 kB / 0.9475 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.154e-05/1.967, allocations: 13.47 kB / 0.9475 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-05/1.967, allocations: 19.05 kB / 0.9475 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04064/2.008, allocations: 18.67 MB / 0.9658 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.988e-05/2.008, allocations: 7.719 kB / 0.9658 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/2.011, allocations: 494.8 kB / 0.9662 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/2.022, allocations: 3.12 MB / 0.9693 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008713/2.023, allocations: 65.17 kB / 0.9693 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/2.045, allocations: 16.3 MB / 0.9853 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.045, allocations: 10.84 kB / 0.9853 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/2.071, allocations: 14.15 MB / 0.9991 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004229/2.075, allocations: 1.084 MB / 1 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001756/2.077, allocations: 69.53 kB / 1 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.081, allocations: 205 kB / 1 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/2.082, allocations: 228.2 kB / 1.001 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006662/2.083, allocations: 88.38 kB / 1.001 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008041/2.091, allocations: 3.526 MB / 1.004 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/2.091, allocations: 0 / 1.004 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01001/2.101, allocations: 1.68 MB / 1.006 GB, free: 66.23 MB / 0.4948 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * 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.00115/2.102, allocations: 246 kB / 1.006 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0144/2.116, allocations: 8.909 MB / 1.015 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.117, allocations: 4 kB / 1.015 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005569/2.122, allocations: 3.493 MB / 1.018 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/2.127, allocations: 0.6821 MB / 1.019 GB, free: 61.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.16, allocations: 17.89 MB / 1.036 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009211/2.17, allocations: 4.954 MB / 1.041 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007799/2.177, allocations: 2.597 MB / 1.044 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/2.179, allocations: 345.2 kB / 1.044 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/2.179, allocations: 4 kB / 1.044 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.3313/2.51, allocations: 68.66 MB / 1.111 GB, free: 94.41 MB / 0.5105 GB 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)