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.001086/0.001086, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.255/1.255, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001651/0.001651, allocations: 111.4 kB / 218 MB, free: 8.402 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.1596/0.1596, allocations: 37.97 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.546e-05, allocations: 3.594 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08068, allocations: 48.72 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/0.4143, allocations: 98.16 MB / 496.9 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4146, allocations: 76.31 kB / 497 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4523/0.8669, allocations: 133 MB / 0.6152 GB, free: 4.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.867, allocations: 0 / 0.6152 GB, free: 4.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004561/0.8674, allocations: 136 kB / 0.6153 GB, free: 4.852 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.449/1.316, allocations: 7.021 MB / 0.6222 GB, free: 66.09 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.317, allocations: 9.625 kB / 0.6222 GB, free: 66.09 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03341/1.35, allocations: 7.559 MB / 0.6296 GB, free: 65.63 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/1.376, allocations: 9.776 MB / 0.6391 GB, free: 65.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/1.377, allocations: 207.2 kB / 0.6393 GB, free: 65.18 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00333/1.38, allocations: 406 kB / 0.6397 GB, free: 65.17 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01673/1.397, allocations: 9.646 MB / 0.6491 GB, free: 65.13 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/1.428, allocations: 14.2 MB / 0.663 GB, free: 61.29 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/1.428, allocations: 94.67 kB / 0.6631 GB, free: 61.28 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/1.431, allocations: 46.62 kB / 0.6631 GB, free: 61.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/1.433, allocations: 1.577 MB / 0.6647 GB, free: 61.27 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09043/1.524, allocations: 73.59 MB / 0.7365 GB, free: 27.12 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006991/1.531, allocations: 5.128 MB / 0.7415 GB, free: 24.57 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004434/1.535, allocations: 3.701 MB / 0.7452 GB, free: 22.92 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/1.537, allocations: 2.266 MB / 0.7474 GB, free: 20.86 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.537, allocations: 71.34 kB / 0.7474 GB, free: 20.8 MB / 442.8 MB Notification: Performance of pre-optimization done (n=295): time 5.63e-06/1.537, allocations: 0 / 0.7474 GB, free: 20.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=374): time 0.1035/1.641, allocations: 40.01 MB / 0.7865 GB, free: 6.637 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/1.641, allocations: 265.8 kB / 0.7868 GB, free: 6.32 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/1.652, allocations: 4.644 MB / 0.7913 GB, free: 2.273 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.653, allocations: 25.7 kB / 0.7913 GB, free: 2.242 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2853/1.939, allocations: 4.77 MB / 0.796 GB, free: 93.45 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001972/1.941, allocations: 1.329 MB / 0.7973 GB, free: 92.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/1.941, allocations: 0 / 0.7973 GB, free: 92.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005168/1.942, allocations: 0.7043 MB / 0.798 GB, free: 92.48 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/1.947, allocations: 3.624 MB / 0.8015 GB, free: 92.45 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008824/1.956, allocations: 8.89 MB / 0.8102 GB, free: 85.66 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.966, allocations: 5.547 MB / 0.8156 GB, free: 85.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004089/1.967, allocations: 52.75 kB / 0.8157 GB, free: 85.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.03829/2.005, allocations: 15.54 MB / 0.8308 GB, free: 84.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/2.005, allocations: 85.88 kB / 0.8309 GB, free: 84.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/2.006, allocations: 188.5 kB / 0.8311 GB, free: 84.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/2.019, allocations: 4.12 MB / 0.8351 GB, free: 84.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008138/2.027, allocations: 2.099 MB / 0.8372 GB, free: 84.69 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02877/2.056, allocations: 21.06 MB / 0.8577 GB, free: 80.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008672/2.064, allocations: 386.6 kB / 0.8581 GB, free: 80.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.066, allocations: 0.5475 MB / 0.8586 GB, free: 80.23 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1114): * Single equations (assignments): 1109 * 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.001575/2.068, allocations: 0.5763 MB / 0.8592 GB, free: 79.88 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.069, allocations: 0.5369 MB / 0.8597 GB, free: 79.59 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/2.089, allocations: 9.565 MB / 0.8691 GB, free: 76.69 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/2.089, allocations: 38.5 kB / 0.8691 GB, free: 76.69 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/2.089, allocations: 19 kB / 0.8691 GB, free: 76.69 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/2.089, allocations: 22.42 kB / 0.8691 GB, free: 76.69 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03673/2.126, allocations: 18.09 MB / 0.8868 GB, free: 70.47 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/2.126, allocations: 7.891 kB / 0.8868 GB, free: 70.46 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/2.129, allocations: 0.5181 MB / 0.8873 GB, free: 70.42 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/2.14, allocations: 3.564 MB / 0.8908 GB, free: 69.84 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008134/2.141, allocations: 11.36 kB / 0.8908 GB, free: 69.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/2.164, allocations: 17.68 MB / 0.9081 GB, free: 55.47 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/2.164, allocations: 4 kB / 0.9081 GB, free: 55.46 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/2.188, allocations: 14.24 MB / 0.922 GB, free: 43.51 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00356/2.192, allocations: 1.076 MB / 0.923 GB, free: 42.52 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/2.193, allocations: 7.953 kB / 0.923 GB, free: 42.51 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/2.197, allocations: 188.7 kB / 0.9232 GB, free: 42.41 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/2.198, allocations: 231.1 kB / 0.9234 GB, free: 42.26 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/2.198, allocations: 95.17 kB / 0.9235 GB, free: 42.18 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004918/2.203, allocations: 3.128 MB / 0.9266 GB, free: 39.49 MB / 458.8 MB Notification: Performance of sort global known variables: time 4e-07/2.203, allocations: 0 / 0.9266 GB, free: 39.49 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009645/2.213, allocations: 1.608 MB / 0.9281 GB, free: 37.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 272 * 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.0008815/2.214, allocations: 171.6 kB / 0.9283 GB, free: 37.75 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01329/2.227, allocations: 9.147 MB / 0.9372 GB, free: 29.43 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/2.227, allocations: 0 / 0.9372 GB, free: 29.43 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004481/2.232, allocations: 3.635 MB / 0.9408 GB, free: 26.14 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/2.235, allocations: 0.5815 MB / 0.9414 GB, free: 25.64 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/2.263, allocations: 12.98 MB / 0.954 GB, free: 14.13 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2541/2.517, allocations: 5.058 MB / 0.959 GB, free: 78.82 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01018/2.527, allocations: 2.866 MB / 0.9618 GB, free: 78.76 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/2.529, allocations: 367.5 kB / 0.9621 GB, free: 78.75 MB / 458.8 MB Notification: Performance of SimCode: time 1.112e-06/2.529, allocations: 0 / 0.9621 GB, free: 78.75 MB / 458.8 MB Notification: Performance of Templates: time 0.1174/2.646, allocations: 69.06 MB / 1.03 GB, free: 70.82 MB / 458.8 MB 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)