Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004639/0.004645, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.268/4.268, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003461/0.003461, allocations: 224.1 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5219/0.5219, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004668, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 54.85 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5845, allocations: 84.79 MB / 0.7629 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5848, allocations: 77.7 kB / 0.7629 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05982/0.6446, allocations: 11.25 MB / 0.7739 GB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6447, allocations: 4 kB / 0.7739 GB, free: 7.168 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.6448, allocations: 12 kB / 0.7739 GB, free: 7.156 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002719/0.6475, allocations: 0.8964 MB / 0.7748 GB, free: 6.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6476, allocations: 15.97 kB / 0.7748 GB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.6478, allocations: 74.53 kB / 0.7749 GB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.6485, allocations: 371.7 kB / 0.7753 GB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.6486, allocations: 45.77 kB / 0.7753 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.6487, allocations: 75.02 kB / 0.7754 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.6508, allocations: 0.6351 MB / 0.776 GB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/0.6509, allocations: 11.84 kB / 0.776 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.651, allocations: 24.5 kB / 0.776 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.651, allocations: 16 kB / 0.776 GB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.6533, allocations: 0.5589 MB / 0.7766 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/0.659, allocations: 2.204 MB / 0.7787 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.6613, allocations: 0.7224 MB / 0.7794 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.6627, allocations: 359.3 kB / 0.7798 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.663, allocations: 101.3 kB / 0.7799 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.663, allocations: 54.69 kB / 0.7799 GB, free: 1.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.997e-06/0.663, allocations: 0 / 0.7799 GB, free: 1.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01431/0.6773, allocations: 4.601 MB / 0.7844 GB, free: 13.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6775, allocations: 218.2 kB / 0.7846 GB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.6782, allocations: 361.3 kB / 0.785 GB, free: 12.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6783, allocations: 42.95 kB / 0.785 GB, free: 12.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6786, allocations: 270.5 kB / 0.7853 GB, free: 12.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.679, allocations: 408.2 kB / 0.7857 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.6791, allocations: 25.19 kB / 0.7857 GB, free: 12.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6793, allocations: 379.7 kB / 0.7861 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.6805, allocations: 334 kB / 0.7864 GB, free: 11.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.6818, allocations: 0.5193 MB / 0.7869 GB, free: 11.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6832, allocations: 405.4 kB / 0.7873 GB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6832, allocations: 4 kB / 0.7873 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003277/0.6865, allocations: 1.035 MB / 0.7883 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.6866, allocations: 8 kB / 0.7883 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.6866, allocations: 4.094 kB / 0.7883 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/0.6867, allocations: 19.89 kB / 0.7883 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.6888, allocations: 297.7 kB / 0.7886 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.6889, allocations: 11.94 kB / 0.7886 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.6898, allocations: 65.84 kB / 0.7887 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.6899, allocations: 39.12 kB / 0.7887 GB, free: 9.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000536/0.6905, allocations: 231.1 kB / 0.7889 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.6908, allocations: 78.47 kB / 0.789 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.6915, allocations: 219.5 kB / 0.7892 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.6915, allocations: 12 kB / 0.7892 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.6916, allocations: 3.953 kB / 0.7892 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.6916, allocations: 11.97 kB / 0.7892 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.6977, allocations: 2.378 MB / 0.7916 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.6977, allocations: 7.938 kB / 0.7916 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/0.7, allocations: 263 kB / 0.7918 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.7, allocations: 8 kB / 0.7918 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.7001, allocations: 29.69 kB / 0.7919 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.016e-05/0.7002, allocations: 11.98 kB / 0.7919 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.7002, allocations: 7.938 kB / 0.7919 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.7047, allocations: 1.947 MB / 0.7938 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.7053, allocations: 201.4 kB / 0.794 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.7054, allocations: 25.31 kB / 0.794 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.7065, allocations: 48.53 kB / 0.794 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.7067, allocations: 90.84 kB / 0.7941 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.7068, allocations: 37.36 kB / 0.7942 GB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004017/0.7073, allocations: 244.5 kB / 0.7944 GB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7073, allocations: 0 / 0.7944 GB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001272/0.7086, allocations: 200.3 kB / 0.7946 GB, free: 4.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.7088, allocations: 138.9 kB / 0.7947 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.7117, allocations: 0.8828 MB / 0.7956 GB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.7118, allocations: 4 kB / 0.7956 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.7134, allocations: 0.4973 MB / 0.7961 GB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.7154, allocations: 127.7 kB / 0.7962 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/0.7219, allocations: 2.65 MB / 0.7988 GB, free: 1.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.7228, allocations: 0.9594 MB / 0.7997 GB, free: 60 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008996/0.7237, allocations: 97.62 kB / 0.7998 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.724, allocations: 59.42 kB / 0.7999 GB, free: 15.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.724, allocations: 4 kB / 0.7999 GB, free: 15.9 MB / 394.7 MB Notification: Performance of Templates: time 0.02229/0.7463, allocations: 6.369 MB / 0.8061 GB, free: 9.594 MB / 394.7 MB