Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001438/0.001438, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.162/1.162, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.00158/0.00158, allocations: 103.5 kB / 223.2 MB, free: 4.109 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.159/0.159, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.684e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08013, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4327, allocations: 92.95 MB / 498.7 MB, free: 17.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.433, allocations: 75.89 kB / 498.7 MB, free: 17.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1996/0.6326, allocations: 76.32 MB / 0.5616 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6327, allocations: 4 kB / 0.5616 GB, free: 10.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002009/0.6329, allocations: 68 kB / 0.5616 GB, free: 10.22 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01217/0.6451, allocations: 3.577 MB / 0.5651 GB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6452, allocations: 16.03 kB / 0.5651 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.6632, allocations: 4.328 MB / 0.5694 GB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.6754, allocations: 4.452 MB / 0.5737 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.6757, allocations: 267.1 kB / 0.574 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.6769, allocations: 371.7 kB / 0.5743 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.6942, allocations: 9.065 MB / 0.5832 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.6944, allocations: 63.41 kB / 0.5832 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005403/0.6949, allocations: 183.8 kB / 0.5834 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.6961, allocations: 0.8766 MB / 0.5843 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.7098, allocations: 7.217 MB / 0.5913 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2973/1.007, allocations: 44.03 MB / 0.6343 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008931/1.016, allocations: 3.476 MB / 0.6377 GB, free: 65.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/1.019, allocations: 1.586 MB / 0.6393 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/1.031, allocations: 7.197 MB / 0.6463 GB, free: 63.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/1.031, allocations: 51.61 kB / 0.6463 GB, free: 63.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.58e-06/1.031, allocations: 0 / 0.6463 GB, free: 63.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.05191/1.083, allocations: 17.06 MB / 0.663 GB, free: 61.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/1.083, allocations: 206.4 kB / 0.6632 GB, free: 60.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/1.089, allocations: 3.262 MB / 0.6664 GB, free: 60.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004117/1.089, allocations: 49.52 kB / 0.6664 GB, free: 60.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.091, allocations: 2.826 MB / 0.6692 GB, free: 59.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007006/1.091, allocations: 0.6985 MB / 0.6699 GB, free: 58.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/1.092, allocations: 120.1 kB / 0.67 GB, free: 58.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002517/1.092, allocations: 0.551 MB / 0.6705 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/1.094, allocations: 1.939 MB / 0.6724 GB, free: 58.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/1.099, allocations: 5.464 MB / 0.6778 GB, free: 53.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00585/1.105, allocations: 3.241 MB / 0.6809 GB, free: 52.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-05/1.105, allocations: 37.31 kB / 0.681 GB, free: 52.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01847/1.124, allocations: 8.946 MB / 0.6897 GB, free: 49.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/1.124, allocations: 63.78 kB / 0.6898 GB, free: 49.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.124, allocations: 128.5 kB / 0.6899 GB, free: 49.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/1.129, allocations: 1.546 MB / 0.6914 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/1.133, allocations: 1.285 MB / 0.6927 GB, free: 49.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.147, allocations: 8.934 MB / 0.7014 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/1.152, allocations: 309 kB / 0.7017 GB, free: 45.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.153, allocations: 363.7 kB / 0.702 GB, free: 45.13 MB / 426.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 () * 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.002215/1.156, allocations: 0.5407 MB / 0.7025 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.157, allocations: 330.8 kB / 0.7029 GB, free: 44.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009819/1.167, allocations: 3.804 MB / 0.7066 GB, free: 42.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/1.167, allocations: 24 kB / 0.7066 GB, free: 42.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.167, allocations: 15.03 kB / 0.7066 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.167, allocations: 10.8 kB / 0.7066 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.187, allocations: 7.994 MB / 0.7144 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.187, allocations: 0 / 0.7144 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.188, allocations: 251.6 kB / 0.7147 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/1.193, allocations: 1.228 MB / 0.7159 GB, free: 34.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.193, allocations: 28 kB / 0.7159 GB, free: 34.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/1.204, allocations: 7.282 MB / 0.723 GB, free: 28.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.204, allocations: 3.953 kB / 0.723 GB, free: 28.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.215, allocations: 6.166 MB / 0.729 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.218, allocations: 0.6012 MB / 0.7296 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009228/1.219, allocations: 30.86 kB / 0.7296 GB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.22, allocations: 95.53 kB / 0.7297 GB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.221, allocations: 109.9 kB / 0.7298 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.221, allocations: 43.89 kB / 0.7299 GB, free: 22.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00479/1.226, allocations: 2.261 MB / 0.7321 GB, free: 20.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.226, allocations: 0 / 0.7321 GB, free: 20.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006257/1.232, allocations: 0.9695 MB / 0.733 GB, free: 19.29 MB / 426.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 () * 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.0005585/1.233, allocations: 168.6 kB / 0.7332 GB, free: 19.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007192/1.24, allocations: 4.887 MB / 0.738 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.24, allocations: 4 kB / 0.738 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.242, allocations: 1.587 MB / 0.7395 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.244, allocations: 365.1 kB / 0.7399 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.259, allocations: 6.77 MB / 0.7465 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/1.263, allocations: 3.03 MB / 0.7494 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005009/1.268, allocations: 1.81 MB / 0.7512 GB, free: 2.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008802/1.269, allocations: 227.4 kB / 0.7514 GB, free: 2.758 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.269, allocations: 0 / 0.7514 GB, free: 2.758 MB / 426.7 MB Notification: Performance of Templates: time 0.316/1.585, allocations: 35.85 MB / 0.7864 GB, free: 118.7 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)