Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001489/0.001489, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.467/1.467, allocations: 194.3 MB / 202.4 MB, free: 8.555 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.001596/0.001596, allocations: 113 kB / 247.4 MB, free: 6.223 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.2087/0.2087, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 7.984 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4691, allocations: 105.1 MB / 0.5403 GB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4694, allocations: 70.78 kB / 0.5404 GB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6257/1.095, allocations: 133.1 MB / 0.6703 GB, free: 87.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.095, allocations: 0 / 0.6703 GB, free: 87.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005326/1.096, allocations: 134.9 kB / 0.6705 GB, free: 87.36 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02394/1.12, allocations: 7.041 MB / 0.6773 GB, free: 86.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.12, allocations: 11.53 kB / 0.6774 GB, free: 86.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0326/1.152, allocations: 7.558 MB / 0.6847 GB, free: 85.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03269/1.185, allocations: 9.788 MB / 0.6943 GB, free: 85.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/1.186, allocations: 214.4 kB / 0.6945 GB, free: 85.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.189, allocations: 390.8 kB / 0.6949 GB, free: 85.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02314/1.212, allocations: 9.679 MB / 0.7043 GB, free: 85.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/1.242, allocations: 14.24 MB / 0.7182 GB, free: 81.17 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/1.242, allocations: 107.3 kB / 0.7183 GB, free: 81.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007723/1.243, allocations: 50.98 kB / 0.7184 GB, free: 81.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001781/1.245, allocations: 1.581 MB / 0.7199 GB, free: 81.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06787/1.313, allocations: 73.68 MB / 0.7919 GB, free: 30.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006356/1.319, allocations: 5.223 MB / 0.797 GB, free: 27.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/1.323, allocations: 3.77 MB / 0.8007 GB, free: 23.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/1.325, allocations: 2.261 MB / 0.8029 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/1.325, allocations: 67.75 kB / 0.8029 GB, free: 21.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=301): time 5.841e-06/1.325, allocations: 0 / 0.8029 GB, free: 21.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=381): time 0.102/1.427, allocations: 40.91 MB / 0.8429 GB, free: 3.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/1.427, allocations: 269.9 kB / 0.8431 GB, free: 3.402 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3128/1.74, allocations: 4.636 MB / 0.8477 GB, free: 98.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.741, allocations: 25.7 kB / 0.8477 GB, free: 98.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004554/1.746, allocations: 4.774 MB / 0.8524 GB, free: 96.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002407/1.748, allocations: 1.351 MB / 0.8537 GB, free: 96.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009772/1.749, allocations: 0 / 0.8537 GB, free: 96.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007626/1.75, allocations: 0.7063 MB / 0.8544 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008685/1.759, allocations: 3.648 MB / 0.8579 GB, free: 95.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/1.772, allocations: 8.926 MB / 0.8666 GB, free: 88.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.784, allocations: 5.575 MB / 0.8721 GB, free: 88.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002996/1.785, allocations: 53.62 kB / 0.8721 GB, free: 88.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.05047/1.835, allocations: 15.53 MB / 0.8873 GB, free: 88.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/1.835, allocations: 82.31 kB / 0.8874 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002748/1.836, allocations: 187.1 kB / 0.8876 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01767/1.853, allocations: 4.083 MB / 0.8916 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.864, allocations: 2.104 MB / 0.8936 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03934/1.904, allocations: 21.02 MB / 0.9141 GB, free: 82.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007543/1.911, allocations: 391.6 kB / 0.9145 GB, free: 82.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/1.913, allocations: 0.542 MB / 0.915 GB, free: 82.2 MB / 490.7 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 (1121): * Single equations (assignments): 1116 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001462/1.914, allocations: 0.5872 MB / 0.9156 GB, free: 81.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.915, allocations: 0.5395 MB / 0.9161 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.934, allocations: 9.568 MB / 0.9255 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.248e-05/1.934, allocations: 37.47 kB / 0.9255 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.352e-05/1.934, allocations: 19.77 kB / 0.9255 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/1.934, allocations: 24.73 kB / 0.9256 GB, free: 78.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03574/1.97, allocations: 18.15 MB / 0.9433 GB, free: 72.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.081e-05/1.97, allocations: 3.969 kB / 0.9433 GB, free: 72.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.973, allocations: 0.5356 MB / 0.9438 GB, free: 72.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/1.983, allocations: 3.516 MB / 0.9472 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007595/1.984, allocations: 11.09 kB / 0.9473 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/2.007, allocations: 17.67 MB / 0.9645 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/2.007, allocations: 7.938 kB / 0.9645 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/2.03, allocations: 14.29 MB / 0.9785 GB, free: 43.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/2.032, allocations: 1.083 MB / 0.9795 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/2.033, allocations: 7.375 kB / 0.9795 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/2.036, allocations: 173 kB / 0.9797 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00059/2.037, allocations: 241.2 kB / 0.9799 GB, free: 42.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/2.037, allocations: 96.75 kB / 0.98 GB, free: 42.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00415/2.041, allocations: 3.119 MB / 0.9831 GB, free: 39.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.041, allocations: 3.938 kB / 0.9831 GB, free: 39.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008591/2.05, allocations: 1.614 MB / 0.9846 GB, free: 38.18 MB / 490.7 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 (284): * Single equations (assignments): 279 * 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.0006537/2.051, allocations: 172.1 kB / 0.9848 GB, free: 38.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0143/2.065, allocations: 9.231 MB / 0.9938 GB, free: 29.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.065, allocations: 4 kB / 0.9938 GB, free: 29.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/2.07, allocations: 3.66 MB / 0.9974 GB, free: 26.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/2.074, allocations: 0.5857 MB / 0.998 GB, free: 25.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/2.096, allocations: 13.06 MB / 1.011 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/2.101, allocations: 5.009 MB / 1.016 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007233/2.109, allocations: 2.88 MB / 1.018 GB, free: 5.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/2.11, allocations: 363.4 kB / 1.019 GB, free: 5.219 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/2.11, allocations: 3.938 kB / 1.019 GB, free: 5.215 MB / 490.7 MB Notification: Performance of Templates: time 0.373/2.483, allocations: 69.16 MB / 1.086 GB, free: 94.65 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)