Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009072/0.009072, allocations: 164.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.365/1.365, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001597/0.001597, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.375/0.375, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 12 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5482, allocations: 98.91 MB / 0.4985 GB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.5485, allocations: 80.95 kB / 0.4986 GB, free: 5.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6219/1.17, allocations: 135.6 MB / 0.631 GB, free: 73.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.836e-06/1.171, allocations: 1.375 kB / 0.631 GB, free: 73.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005573/1.171, allocations: 130.5 kB / 0.6311 GB, free: 73.13 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: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.03014/1.201, allocations: 7.632 MB / 0.6386 GB, free: 70.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.201, allocations: 11.75 kB / 0.6386 GB, free: 70.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03185/1.233, allocations: 7.554 MB / 0.646 GB, free: 69.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/1.261, allocations: 9.834 MB / 0.6556 GB, free: 68.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007646/1.262, allocations: 494.7 kB / 0.6561 GB, free: 68.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005121/1.267, allocations: 0.6514 MB / 0.6567 GB, free: 68.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04843/1.315, allocations: 16.69 MB / 0.673 GB, free: 60.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007651/1.316, allocations: 98.41 kB / 0.6731 GB, free: 60.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004116/1.32, allocations: 315.8 kB / 0.6734 GB, free: 60.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/1.323, allocations: 1.58 MB / 0.6749 GB, free: 60.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03513/1.358, allocations: 13.74 MB / 0.6883 GB, free: 54.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.43/1.788, allocations: 74.23 MB / 0.7608 GB, free: 38.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.811, allocations: 7.697 MB / 0.7684 GB, free: 38.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0368/1.848, allocations: 18.62 MB / 0.7865 GB, free: 33.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.009e-05/1.848, allocations: 66.77 kB / 0.7866 GB, free: 33.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 7.614e-06/1.848, allocations: 0 / 0.7866 GB, free: 33.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=361): time 0.178/2.027, allocations: 49.42 MB / 0.8349 GB, free: 26.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/2.027, allocations: 266.5 kB / 0.8351 GB, free: 25.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01293/2.04, allocations: 5.383 MB / 0.8404 GB, free: 24.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001096/2.041, allocations: 82.94 kB / 0.8404 GB, free: 23.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003708/2.044, allocations: 4.758 MB / 0.8451 GB, free: 20.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/2.047, allocations: 1.335 MB / 0.8464 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008108/2.047, allocations: 186.4 kB / 0.8466 GB, free: 19.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004123/2.048, allocations: 0.6912 MB / 0.8473 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005237/2.053, allocations: 3.775 MB / 0.8509 GB, free: 17.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00804/2.061, allocations: 8.963 MB / 0.8597 GB, free: 9.215 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/2.069, allocations: 5.638 MB / 0.8652 GB, free: 4.832 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/2.069, allocations: 56 kB / 0.8652 GB, free: 4.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.04355/2.113, allocations: 16.91 MB / 0.8818 GB, free: 8.238 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003426/2.113, allocations: 84 kB / 0.8818 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004588/2.114, allocations: 180 kB / 0.882 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01488/2.129, allocations: 4.174 MB / 0.8861 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008177/2.137, allocations: 2.03 MB / 0.8881 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04018/2.177, allocations: 22.93 MB / 0.9105 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/2.188, allocations: 0.5563 MB / 0.911 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002878/2.191, allocations: 0.5234 MB / 0.9115 GB, free: 12.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1077): * Single equations (assignments): 1072 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01224/2.203, allocations: 3.112 MB / 0.9146 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/2.205, allocations: 0.5708 MB / 0.9151 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02843/2.234, allocations: 9.822 MB / 0.9247 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.475e-05/2.234, allocations: 42.48 kB / 0.9248 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.43e-05/2.234, allocations: 16 kB / 0.9248 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.505e-05/2.234, allocations: 15.94 kB / 0.9248 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05994/2.294, allocations: 19.19 MB / 0.9435 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.101e-05/2.294, allocations: 4 kB / 0.9435 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003003/2.297, allocations: 0.4954 MB / 0.944 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/2.311, allocations: 3.673 MB / 0.9476 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001319/2.312, allocations: 63.98 kB / 0.9477 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3285/2.641, allocations: 19.79 MB / 0.967 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/2.641, allocations: 4.281 kB / 0.967 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03386/2.675, allocations: 14.27 MB / 0.9809 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005285/2.68, allocations: 1.114 MB / 0.982 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/2.683, allocations: 54.66 kB / 0.9821 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/2.688, allocations: 240.3 kB / 0.9823 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001649/2.689, allocations: 228.9 kB / 0.9825 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008905/2.69, allocations: 86.69 kB / 0.9826 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01183/2.702, allocations: 3.788 MB / 0.9863 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/2.702, allocations: 0 / 0.9863 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01559/2.718, allocations: 1.839 MB / 0.9881 GB, free: 144.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (264): * Single equations (assignments): 259 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/2.72, allocations: 223.4 kB / 0.9883 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02341/2.743, allocations: 9.63 MB / 0.9977 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.743, allocations: 4.25 kB / 0.9977 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007963/2.751, allocations: 3.743 MB / 1.001 GB, free: 141 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007303/2.759, allocations: 0.7175 MB / 1.002 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/2.8, allocations: 18.34 MB / 1.02 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009913/2.81, allocations: 5.002 MB / 1.025 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00847/2.818, allocations: 2.796 MB / 1.028 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/2.82, allocations: 381.9 kB / 1.028 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.913e-06/2.82, allocations: 0 / 1.028 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1274/2.947, allocations: 75.52 MB / 1.102 GB, free: 84.83 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)