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.001087/0.001087, allocations: 172.3 kB / 16.11 MB, free: 5.695 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.335/1.335, allocations: 223.3 MB / 240.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008232, allocations: 95.28 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04051/0.04051, allocations: 8.946 MB / 351.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 15.98 kB / 414.4 MB, free: 56.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 52.38 MB / 466.8 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.439, allocations: 90.44 MB / 0.5442 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.4393, allocations: 79.66 kB / 0.5442 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.161/0.6002, allocations: 67.98 MB / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6003, allocations: 0 / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.6004, allocations: 56 kB / 0.6107 GB, free: 8.738 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.008292/0.6087, allocations: 3.038 MB / 0.6137 GB, free: 5.633 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6088, allocations: 8.031 kB / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009034/0.6178, allocations: 2.012 MB / 0.6156 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.6223, allocations: 1.849 MB / 0.6174 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.6226, allocations: 254.9 kB / 0.6177 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/0.6242, allocations: 332.3 kB / 0.618 GB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.6388, allocations: 8.182 MB / 0.626 GB, free: 8.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.6389, allocations: 27.91 kB / 0.626 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/0.6393, allocations: 147.8 kB / 0.6262 GB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.6406, allocations: 0.9668 MB / 0.6271 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.6526, allocations: 7.373 MB / 0.6343 GB, free: 8 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2438/0.8964, allocations: 26.9 MB / 0.6606 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.901, allocations: 2.152 MB / 0.6627 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.9026, allocations: 0.9158 MB / 0.6636 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009677/0.9122, allocations: 5.474 MB / 0.6689 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.9123, allocations: 46 kB / 0.6689 GB, free: 100.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=119): time 4.629e-06/0.9123, allocations: 0 / 0.6689 GB, free: 100.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.01505/0.9274, allocations: 6.727 MB / 0.6755 GB, free: 99.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9275, allocations: 68.22 kB / 0.6756 GB, free: 99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006202/0.9337, allocations: 2.87 MB / 0.6784 GB, free: 98.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.934, allocations: 44.94 kB / 0.6784 GB, free: 98.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.9357, allocations: 2.354 MB / 0.6807 GB, free: 97.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.9364, allocations: 0.5191 MB / 0.6812 GB, free: 97.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.9366, allocations: 84.02 kB / 0.6813 GB, free: 97.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9368, allocations: 486.1 kB / 0.6818 GB, free: 96.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.9388, allocations: 1.292 MB / 0.683 GB, free: 96.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.9415, allocations: 3.732 MB / 0.6867 GB, free: 93.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004652/0.9461, allocations: 5.404 MB / 0.692 GB, free: 90.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-05/0.9462, allocations: 23.56 kB / 0.692 GB, free: 90.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=549) (initialization): time 0.007163/0.9534, allocations: 5.507 MB / 0.6974 GB, free: 89.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.9534, allocations: 40.88 kB / 0.6974 GB, free: 89.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.132e-05/0.9535, allocations: 84.12 kB / 0.6975 GB, free: 89.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.9541, allocations: 354.7 kB / 0.6978 GB, free: 88.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.9564, allocations: 0.9127 MB / 0.6987 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.961, allocations: 8.24 MB / 0.7068 GB, free: 81.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.9641, allocations: 210.7 kB / 0.707 GB, free: 81.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.9645, allocations: 258.5 kB / 0.7072 GB, free: 81.31 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 (502): * Single equations (assignments): 492 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 12,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0028/0.9673, allocations: 1.7 MB / 0.7089 GB, free: 80.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.9677, allocations: 235.2 kB / 0.7091 GB, free: 80.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.9706, allocations: 2.18 MB / 0.7112 GB, free: 79.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.9707, allocations: 30.47 kB / 0.7112 GB, free: 79.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.9707, allocations: 2.938 kB / 0.7112 GB, free: 79.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.9707, allocations: 3.656 kB / 0.7113 GB, free: 79.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008352/0.9791, allocations: 5.676 MB / 0.7168 GB, free: 76.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.9791, allocations: 3.938 kB / 0.7168 GB, free: 76.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.9798, allocations: 174.1 kB / 0.717 GB, free: 76.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.9801, allocations: 143.6 kB / 0.7171 GB, free: 76.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.9802, allocations: 31.11 kB / 0.7171 GB, free: 76.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.9828, allocations: 4.661 MB / 0.7217 GB, free: 72.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9828, allocations: 7.5 kB / 0.7217 GB, free: 72.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.9866, allocations: 2.898 MB / 0.7245 GB, free: 71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.9876, allocations: 337.8 kB / 0.7248 GB, free: 70.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.9879, allocations: 20.81 kB / 0.7249 GB, free: 70.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.9886, allocations: 53.81 kB / 0.7249 GB, free: 70.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.9888, allocations: 86.22 kB / 0.725 GB, free: 70.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.9889, allocations: 45.42 kB / 0.725 GB, free: 70.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002523/0.9914, allocations: 1.813 MB / 0.7268 GB, free: 70.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9914, allocations: 0 / 0.7268 GB, free: 70.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003803/0.9952, allocations: 0.73 MB / 0.7275 GB, free: 69.93 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 (100): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.9956, allocations: 169.7 kB / 0.7277 GB, free: 69.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004882/1, allocations: 3.604 MB / 0.7312 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1, allocations: 0 / 0.7312 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.002, allocations: 1.092 MB / 0.7323 GB, free: 67.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.005, allocations: 383.1 kB / 0.7326 GB, free: 67.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.019, allocations: 8.15 MB / 0.7406 GB, free: 63.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/1.022, allocations: 2.749 MB / 0.7433 GB, free: 61.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00311/1.025, allocations: 1.209 MB / 0.7445 GB, free: 60.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/1.025, allocations: 175.2 kB / 0.7446 GB, free: 60.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/1.025, allocations: 0 / 0.7446 GB, free: 60.28 MB / 458.7 MB Notification: Performance of Templates: time 0.04472/1.07, allocations: 24.66 MB / 0.7687 GB, free: 41.62 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)