Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.00101, allocations: 168.4 kB / 7.639 MB, free: 1.414 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.334/1.334, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001611/0.001612, allocations: 107.5 kB / 218 MB, free: 8.352 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.2286/0.2286, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.95e-05, allocations: 3.219 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 48.72 MB / 398.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5264, allocations: 101.3 MB / 500 MB, free: 17.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5267, allocations: 76.45 kB / 0.4884 GB, free: 17.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6399/1.167, allocations: 139.4 MB / 0.6245 GB, free: 70.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.167, allocations: 3.781 kB / 0.6245 GB, free: 70.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005074/1.167, allocations: 129.7 kB / 0.6246 GB, free: 70.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02752/1.195, allocations: 6.638 MB / 0.6311 GB, free: 68.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/1.195, allocations: 9.25 kB / 0.6311 GB, free: 68.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03826/1.233, allocations: 9.333 MB / 0.6402 GB, free: 68.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0251/1.258, allocations: 9.102 MB / 0.6491 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/1.259, allocations: 204.8 kB / 0.6493 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/1.263, allocations: 396.8 kB / 0.6497 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02048/1.283, allocations: 9.339 MB / 0.6588 GB, free: 67.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04271/1.326, allocations: 13.26 MB / 0.6717 GB, free: 64.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007085/1.327, allocations: 83.34 kB / 0.6718 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00364/1.331, allocations: 33.56 kB / 0.6719 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002486/1.333, allocations: 1.387 MB / 0.6732 GB, free: 64.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08247/1.416, allocations: 62.22 MB / 0.734 GB, free: 38.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005788/1.421, allocations: 4.347 MB / 0.7382 GB, free: 36.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/1.425, allocations: 3.014 MB / 0.7412 GB, free: 35.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002319/1.428, allocations: 2.389 MB / 0.7435 GB, free: 33.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/1.428, allocations: 59.41 kB / 0.7436 GB, free: 33.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=251): time 5.501e-06/1.428, allocations: 0 / 0.7436 GB, free: 33.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=343): time 0.07574/1.503, allocations: 27.56 MB / 0.7705 GB, free: 10.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.504, allocations: 243.8 kB / 0.7707 GB, free: 10.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009671/1.513, allocations: 4.378 MB / 0.775 GB, free: 6.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.515, allocations: 25.7 kB / 0.775 GB, free: 6.723 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004687/1.519, allocations: 4.498 MB / 0.7794 GB, free: 2.637 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.522, allocations: 1.223 MB / 0.7806 GB, free: 1.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008094/1.522, allocations: 4 kB / 0.7806 GB, free: 1.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005326/1.523, allocations: 0.66 MB / 0.7812 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01559/1.539, allocations: 4.274 MB / 0.7854 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2699/1.808, allocations: 8.068 MB / 0.7933 GB, free: 74.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/1.817, allocations: 5.207 MB / 0.7984 GB, free: 74.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001858/1.818, allocations: 46.88 kB / 0.7984 GB, free: 74.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02998/1.848, allocations: 13.66 MB / 0.8118 GB, free: 74.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.848, allocations: 75.31 kB / 0.8118 GB, free: 74.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/1.848, allocations: 166.5 kB / 0.812 GB, free: 74.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/1.859, allocations: 3.505 MB / 0.8154 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006341/1.865, allocations: 1.847 MB / 0.8172 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/1.889, allocations: 16.83 MB / 0.8337 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008233/1.897, allocations: 328.3 kB / 0.834 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.899, allocations: 482.7 kB / 0.8344 GB, free: 72.93 MB / 442.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 (1001): * Single equations (assignments): 997 * 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.002521/1.901, allocations: 0.5204 MB / 0.8349 GB, free: 72.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.902, allocations: 0.497 MB / 0.8354 GB, free: 72.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/1.92, allocations: 8.523 MB / 0.8437 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.174e-05/1.92, allocations: 35.5 kB / 0.8438 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/1.92, allocations: 20.5 kB / 0.8438 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-05/1.92, allocations: 15.23 kB / 0.8438 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03444/1.954, allocations: 17.31 MB / 0.8607 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/1.954, allocations: 7.469 kB / 0.8607 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.957, allocations: 499.7 kB / 0.8612 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/1.967, allocations: 3.05 MB / 0.8642 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007642/1.968, allocations: 16.08 kB / 0.8642 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.987, allocations: 14.49 MB / 0.8783 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.987, allocations: 12.69 kB / 0.8784 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/2.009, allocations: 13.81 MB / 0.8918 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/2.012, allocations: 1.064 MB / 0.8929 GB, free: 46.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/2.013, allocations: 19.45 kB / 0.8929 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/2.016, allocations: 156.5 kB / 0.893 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/2.017, allocations: 219.1 kB / 0.8933 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/2.017, allocations: 91.47 kB / 0.8933 GB, free: 45.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004723/2.022, allocations: 2.982 MB / 0.8963 GB, free: 43.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.022, allocations: 0 / 0.8963 GB, free: 43.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008968/2.031, allocations: 1.461 MB / 0.8977 GB, free: 41.71 MB / 442.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 (259): * Single equations (assignments): 255 * 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.0007891/2.031, allocations: 194.9 kB / 0.8979 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01438/2.046, allocations: 8.442 MB / 0.9061 GB, free: 33.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/2.046, allocations: 4 kB / 0.9061 GB, free: 33.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/2.05, allocations: 3.365 MB / 0.9094 GB, free: 30.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/2.054, allocations: 0.5717 MB / 0.91 GB, free: 30.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.078, allocations: 12.76 MB / 0.9224 GB, free: 18.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005136/2.083, allocations: 4.956 MB / 0.9273 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006573/2.089, allocations: 2.7 MB / 0.9299 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/2.091, allocations: 334.5 kB / 0.9302 GB, free: 13.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/2.091, allocations: 0 / 0.9302 GB, free: 13.15 MB / 442.7 MB Notification: Performance of Templates: time 0.38/2.471, allocations: 63.1 MB / 0.9918 GB, free: 79.45 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)