Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01044/0.01044, allocations: 174.7 kB / 15.12 MB, free: 5.582 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.754/1.754, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001901/0.001901, allocations: 120.5 kB / 255.6 MB, free: 10.14 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.2183/0.2183, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 14.69 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5156, allocations: 96.93 MB / 0.5449 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.5161, allocations: 79.97 kB / 0.545 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1428/0.6589, allocations: 64.49 MB / 0.6079 GB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.659, allocations: 0 / 0.6079 GB, free: 1.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.6591, allocations: 72 kB / 0.608 GB, free: 0.9453 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.007311/0.6664, allocations: 3.46 MB / 0.6114 GB, free: 13.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6665, allocations: 16.03 kB / 0.6114 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.6738, allocations: 2.021 MB / 0.6134 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.6784, allocations: 1.942 MB / 0.6153 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.6786, allocations: 282.2 kB / 0.6155 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007579/0.6793, allocations: 370.5 kB / 0.6159 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.6994, allocations: 10.45 MB / 0.6261 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/0.6996, allocations: 47.56 kB / 0.6261 GB, free: 388 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005364/0.7002, allocations: 182.4 kB / 0.6263 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/0.7015, allocations: 0.9744 MB / 0.6273 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.7185, allocations: 9.005 MB / 0.6361 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04828/0.7668, allocations: 43.36 MB / 0.6784 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.777, allocations: 4.016 MB / 0.6823 GB, free: 5.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009119/0.7862, allocations: 5.118 MB / 0.6873 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.7863, allocations: 47.56 kB / 0.6874 GB, free: 268 kB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 5.19e-06/0.7863, allocations: 0 / 0.6874 GB, free: 268 kB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.07888/0.8652, allocations: 26.86 MB / 0.7136 GB, free: 5.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.8653, allocations: 145.8 kB / 0.7137 GB, free: 4.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.8695, allocations: 2.822 MB / 0.7165 GB, free: 2.152 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.8699, allocations: 61.7 kB / 0.7165 GB, free: 2.086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2325/1.102, allocations: 2.584 MB / 0.7191 GB, free: 134.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.104, allocations: 0.7683 MB / 0.7198 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006018/1.104, allocations: 114.8 kB / 0.7199 GB, free: 134.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002852/1.105, allocations: 0.5385 MB / 0.7205 GB, free: 134.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.108, allocations: 2.461 MB / 0.7229 GB, free: 134.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/1.114, allocations: 5.641 MB / 0.7284 GB, free: 130 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006059/1.12, allocations: 3.675 MB / 0.732 GB, free: 130 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/1.121, allocations: 32.78 kB / 0.732 GB, free: 130 MB / 490.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.01861/1.139, allocations: 8.725 MB / 0.7405 GB, free: 129.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/1.139, allocations: 57.42 kB / 0.7406 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.139, allocations: 112.3 kB / 0.7407 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/1.142, allocations: 1.051 MB / 0.7417 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00474/1.147, allocations: 1.313 MB / 0.743 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/1.151, allocations: 5.461 MB / 0.7483 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/1.156, allocations: 314 kB / 0.7486 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.157, allocations: 338.9 kB / 0.7489 GB, free: 126.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003448/1.161, allocations: 1.825 MB / 0.7507 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/1.161, allocations: 294.9 kB / 0.751 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006548/1.168, allocations: 4.375 MB / 0.7553 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.168, allocations: 22.88 kB / 0.7553 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.168, allocations: 4.5 kB / 0.7553 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.168, allocations: 15.17 kB / 0.7553 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.182, allocations: 9.354 MB / 0.7644 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.182, allocations: 0 / 0.7644 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.184, allocations: 361.7 kB / 0.7648 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/1.186, allocations: 0.8668 MB / 0.7656 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.186, allocations: 39.98 kB / 0.7657 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/1.19, allocations: 4.824 MB / 0.7704 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.19, allocations: 2.812 kB / 0.7704 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009303/1.199, allocations: 7.682 MB / 0.7779 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.201, allocations: 0.7221 MB / 0.7786 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/1.202, allocations: 36.5 kB / 0.7786 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.203, allocations: 117.8 kB / 0.7787 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.203, allocations: 117.5 kB / 0.7789 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.203, allocations: 52.2 kB / 0.7789 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002678/1.206, allocations: 1.937 MB / 0.7808 GB, free: 112 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.206, allocations: 0 / 0.7808 GB, free: 112 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004228/1.21, allocations: 0.9498 MB / 0.7817 GB, free: 111.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (171): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/1.211, allocations: 166.1 kB / 0.7819 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009518/1.22, allocations: 6.398 MB / 0.7881 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.22, allocations: 0 / 0.7881 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.224, allocations: 2.701 MB / 0.7908 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.226, allocations: 278.2 kB / 0.791 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.24, allocations: 10.39 MB / 0.8012 GB, free: 96.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.243, allocations: 2.932 MB / 0.804 GB, free: 93.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004237/1.247, allocations: 1.853 MB / 0.8059 GB, free: 92.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008269/1.248, allocations: 226.1 kB / 0.8061 GB, free: 92.47 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/1.248, allocations: 0 / 0.8061 GB, free: 92.47 MB / 490.7 MB Notification: Performance of Templates: time 0.05657/1.305, allocations: 34.51 MB / 0.8398 GB, free: 64.98 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)