Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005335/0.005335, allocations: 174.5 kB / 15.12 MB, free: 5.973 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.373/1.373, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001719/0.001719, allocations: 120.5 kB / 255.6 MB, free: 10.23 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.1784/0.1784, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004087, allocations: 11.62 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5483, allocations: 99.86 MB / 0.5477 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5486, allocations: 78.73 kB / 0.5478 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.18/0.7286, allocations: 76.34 MB / 0.6224 GB, free: 4.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7286, allocations: 0 / 0.6224 GB, free: 4.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.7288, allocations: 68 kB / 0.6224 GB, free: 4.156 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01511/0.7439, allocations: 3.845 MB / 0.6262 GB, free: 0.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.744, allocations: 8.031 kB / 0.6262 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/0.7614, allocations: 4.321 MB / 0.6304 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.7751, allocations: 4.489 MB / 0.6348 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.7754, allocations: 275 kB / 0.6351 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.7774, allocations: 371.8 kB / 0.6354 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.7959, allocations: 9.132 MB / 0.6443 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.7961, allocations: 63.45 kB / 0.6444 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005534/0.7967, allocations: 179.9 kB / 0.6446 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001238/0.7979, allocations: 0.8882 MB / 0.6454 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.8127, allocations: 7.314 MB / 0.6526 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05206/0.8648, allocations: 44.06 MB / 0.6956 GB, free: 8.023 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009427/0.8743, allocations: 3.514 MB / 0.699 GB, free: 4.363 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.8866, allocations: 7.194 MB / 0.7061 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.8866, allocations: 47.56 kB / 0.7061 GB, free: 12.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 6.271e-06/0.8867, allocations: 0 / 0.7061 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=184): time 0.3406/1.227, allocations: 19.59 MB / 0.7252 GB, free: 125.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.227, allocations: 200.2 kB / 0.7254 GB, free: 125.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006824/1.234, allocations: 3.292 MB / 0.7286 GB, free: 125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004943/1.235, allocations: 59.55 kB / 0.7287 GB, free: 124.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.237, allocations: 2.823 MB / 0.7315 GB, free: 123.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000927/1.238, allocations: 0.7034 MB / 0.7321 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/1.238, allocations: 117.2 kB / 0.7323 GB, free: 123.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003645/1.239, allocations: 0.5481 MB / 0.7328 GB, free: 122.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/1.243, allocations: 2.007 MB / 0.7347 GB, free: 122.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005778/1.248, allocations: 5.521 MB / 0.7401 GB, free: 118.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/1.253, allocations: 3.271 MB / 0.7433 GB, free: 118.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.352e-05/1.253, allocations: 36.97 kB / 0.7434 GB, free: 118.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01986/1.273, allocations: 9.128 MB / 0.7523 GB, free: 117.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/1.273, allocations: 57.66 kB / 0.7523 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/1.273, allocations: 126.1 kB / 0.7525 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005359/1.279, allocations: 1.594 MB / 0.754 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004599/1.283, allocations: 1.276 MB / 0.7553 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.298, allocations: 9.568 MB / 0.7646 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/1.304, allocations: 307.9 kB / 0.7649 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.305, allocations: 363.9 kB / 0.7652 GB, free: 114 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.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 (691): * Single equations (assignments): 687 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005764/1.311, allocations: 1.889 MB / 0.7671 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.312, allocations: 332.6 kB / 0.7674 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.323, allocations: 3.914 MB / 0.7712 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/1.323, allocations: 20.62 kB / 0.7713 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/1.323, allocations: 11.56 kB / 0.7713 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/1.323, allocations: 11.11 kB / 0.7713 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/1.346, allocations: 8.126 MB / 0.7792 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.346, allocations: 3.812 kB / 0.7792 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.347, allocations: 240.5 kB / 0.7794 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004594/1.352, allocations: 1.283 MB / 0.7807 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/1.352, allocations: 34.91 kB / 0.7807 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.365, allocations: 7.829 MB / 0.7884 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.365, allocations: 7.922 kB / 0.7884 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.378, allocations: 6.322 MB / 0.7946 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002677/1.381, allocations: 0.6051 MB / 0.7951 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.382, allocations: 29.64 kB / 0.7952 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.385, allocations: 89.48 kB / 0.7953 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/1.385, allocations: 104.9 kB / 0.7954 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.385, allocations: 51.8 kB / 0.7954 GB, free: 101.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005985/1.391, allocations: 2.302 MB / 0.7977 GB, free: 99.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.392, allocations: 0 / 0.7977 GB, free: 99.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008971/1.4, allocations: 0.9687 MB / 0.7986 GB, free: 98.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (129): * Single equations (assignments): 125 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000827/1.401, allocations: 168.9 kB / 0.7988 GB, free: 98.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009265/1.411, allocations: 4.989 MB / 0.8036 GB, free: 94.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.411, allocations: 4.062 kB / 0.8036 GB, free: 94.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/1.413, allocations: 1.628 MB / 0.8052 GB, free: 92.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.416, allocations: 373.5 kB / 0.8056 GB, free: 92.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.435, allocations: 9.671 MB / 0.815 GB, free: 83.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00535/1.441, allocations: 3.036 MB / 0.818 GB, free: 81.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005776/1.447, allocations: 1.809 MB / 0.8198 GB, free: 80.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/1.448, allocations: 225.8 kB / 0.82 GB, free: 80.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/1.448, allocations: 4 kB / 0.82 GB, free: 80.11 MB / 490.7 MB Notification: Performance of Templates: time 0.07354/1.521, allocations: 35.96 MB / 0.8551 GB, free: 49.94 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)