Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004931/0.004931, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009326, allocations: 108.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04015/0.04015, allocations: 8.935 MB / 350.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8.656 kB / 413.1 MB, free: 88.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 52.4 MB / 465.5 MB, free: 41.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5145, allocations: 90.39 MB / 0.5429 GB, free: 16.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5147, allocations: 77.75 kB / 0.543 GB, free: 16.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1589/0.6736, allocations: 68.57 MB / 0.6099 GB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6737, allocations: 0 / 0.6099 GB, free: 6.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.6738, allocations: 56 kB / 0.61 GB, free: 6.48 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01247/0.6863, allocations: 3.095 MB / 0.613 GB, free: 3.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6864, allocations: 8.031 kB / 0.613 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.6964, allocations: 2.015 MB / 0.615 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.7025, allocations: 1.826 MB / 0.6167 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.7029, allocations: 257.1 kB / 0.617 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.7051, allocations: 336 kB / 0.6173 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.728, allocations: 8.196 MB / 0.6253 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/0.7282, allocations: 19.81 kB / 0.6253 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001886/0.7301, allocations: 155.8 kB / 0.6255 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001862/0.732, allocations: 0.9629 MB / 0.6264 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.7482, allocations: 7.393 MB / 0.6336 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/0.7931, allocations: 26.93 MB / 0.6599 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.7979, allocations: 2.144 MB / 0.662 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.8083, allocations: 5.469 MB / 0.6674 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.8084, allocations: 47.5 kB / 0.6674 GB, free: 12.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.258e-06/0.8084, allocations: 0 / 0.6674 GB, free: 12.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01248/0.8209, allocations: 6.201 MB / 0.6735 GB, free: 6.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.821, allocations: 60.41 kB / 0.6735 GB, free: 6.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006505/0.8275, allocations: 2.583 MB / 0.6761 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.8276, allocations: 41.7 kB / 0.6761 GB, free: 3.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.83, allocations: 2.345 MB / 0.6784 GB, free: 1.047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.8307, allocations: 0.4936 MB / 0.6789 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/0.8312, allocations: 87.98 kB / 0.6789 GB, free: 472 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004559/0.8316, allocations: 483.2 kB / 0.6794 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.8342, allocations: 1.265 MB / 0.6806 GB, free: 14.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/0.8383, allocations: 3.681 MB / 0.6842 GB, free: 9.801 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.8417, allocations: 2.147 MB / 0.6863 GB, free: 7.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.336e-05/0.8418, allocations: 24 kB / 0.6864 GB, free: 7.629 MB / 458.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.008866/0.8506, allocations: 4.947 MB / 0.6912 GB, free: 2.672 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.8507, allocations: 44 kB / 0.6912 GB, free: 2.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.684e-05/0.8508, allocations: 84 kB / 0.6913 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.8512, allocations: 204.8 kB / 0.6915 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.8539, allocations: 0.9241 MB / 0.6924 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.274/1.128, allocations: 2.084 MB / 0.6944 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.132, allocations: 202.5 kB / 0.6946 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/1.132, allocations: 255.8 kB / 0.6949 GB, free: 110.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 502 * Array equations: 5 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003488/1.136, allocations: 1.695 MB / 0.6965 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/1.136, allocations: 236 kB / 0.6968 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/1.139, allocations: 1.612 MB / 0.6983 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/1.139, allocations: 30.67 kB / 0.6984 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.139, allocations: 3.5 kB / 0.6984 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.139, allocations: 3.469 kB / 0.6984 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/1.148, allocations: 5.204 MB / 0.7035 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.148, allocations: 3.875 kB / 0.7035 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.149, allocations: 174.1 kB / 0.7036 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/1.149, allocations: 79.45 kB / 0.7037 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.149, allocations: 26.83 kB / 0.7037 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/1.151, allocations: 1.783 MB / 0.7055 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.151, allocations: 3.781 kB / 0.7055 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/1.154, allocations: 2.86 MB / 0.7083 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/1.155, allocations: 329.6 kB / 0.7086 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.155, allocations: 24.27 kB / 0.7086 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/1.156, allocations: 56.14 kB / 0.7087 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.156, allocations: 73.25 kB / 0.7087 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/1.156, allocations: 44.02 kB / 0.7088 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003481/1.16, allocations: 1.819 MB / 0.7105 GB, free: 107.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.16, allocations: 0 / 0.7105 GB, free: 107.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003349/1.163, allocations: 0.712 MB / 0.7112 GB, free: 107.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (98): * Single equations (assignments): 92 * Array equations: 5 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/1.164, allocations: 167.2 kB / 0.7114 GB, free: 107.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004827/1.168, allocations: 3.023 MB / 0.7143 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.168, allocations: 0 / 0.7143 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.17, allocations: 0.8501 MB / 0.7152 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.172, allocations: 365.5 kB / 0.7155 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.185, allocations: 8.019 MB / 0.7234 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.189, allocations: 2.794 MB / 0.7261 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003139/1.192, allocations: 1.21 MB / 0.7273 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/1.192, allocations: 177.7 kB / 0.7274 GB, free: 102.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/1.192, allocations: 0 / 0.7274 GB, free: 102.7 MB / 458.7 MB Notification: Performance of Templates: time 0.04431/1.237, allocations: 23.52 MB / 0.7504 GB, free: 101.5 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1)