Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01105/0.01105, allocations: 174.5 kB / 15.12 MB, free: 5.969 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.634/1.634, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001857/0.001857, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.2048/0.2048, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 17.17 kB / 406.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5364, allocations: 84.77 MB / 0.533 GB, free: 26.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5368, allocations: 67.38 kB / 0.5331 GB, free: 26.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03467/0.5714, allocations: 11.26 MB / 0.5441 GB, free: 25.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5715, allocations: 0 / 0.5441 GB, free: 25.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.407e-05/0.5715, allocations: 13.12 kB / 0.5441 GB, free: 25.66 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00172/0.5733, allocations: 0.8968 MB / 0.545 GB, free: 25.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5733, allocations: 10.31 kB / 0.545 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5735, allocations: 78.94 kB / 0.545 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.574, allocations: 368 kB / 0.5454 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.574, allocations: 46.42 kB / 0.5454 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5741, allocations: 68.88 kB / 0.5455 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5753, allocations: 0.6302 MB / 0.5461 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.5753, allocations: 15.08 kB / 0.5461 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.5754, allocations: 27.97 kB / 0.5462 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5754, allocations: 14.31 kB / 0.5462 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.5767, allocations: 0.5651 MB / 0.5467 GB, free: 24.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.58, allocations: 2.206 MB / 0.5489 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.5813, allocations: 0.7086 MB / 0.5496 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.5815, allocations: 100.4 kB / 0.5497 GB, free: 23.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5815, allocations: 47.22 kB / 0.5497 GB, free: 23.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.429e-06/0.5815, allocations: 4 kB / 0.5497 GB, free: 23.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.007979/0.5895, allocations: 4.61 MB / 0.5542 GB, free: 21.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.5896, allocations: 225.6 kB / 0.5544 GB, free: 20.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.59, allocations: 312.5 kB / 0.5547 GB, free: 20.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.5901, allocations: 47.92 kB / 0.5548 GB, free: 20.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5902, allocations: 269.3 kB / 0.555 GB, free: 20.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.5904, allocations: 404.5 kB / 0.5554 GB, free: 20.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.5905, allocations: 26.34 kB / 0.5554 GB, free: 20.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5906, allocations: 380.2 kB / 0.5558 GB, free: 19.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.5912, allocations: 330.2 kB / 0.5561 GB, free: 19.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.5919, allocations: 0.5189 MB / 0.5566 GB, free: 19.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.5926, allocations: 397.8 kB / 0.557 GB, free: 19.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5927, allocations: 0 / 0.557 GB, free: 19.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001572/0.5942, allocations: 1.035 MB / 0.558 GB, free: 19.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5943, allocations: 7.688 kB / 0.558 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5943, allocations: 3.906 kB / 0.558 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.5943, allocations: 11.44 kB / 0.558 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.5953, allocations: 292.6 kB / 0.5583 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.5953, allocations: 15.73 kB / 0.5583 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.5959, allocations: 65.75 kB / 0.5584 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.596, allocations: 43.31 kB / 0.5584 GB, free: 19.48 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.0003379/0.5963, allocations: 225.9 kB / 0.5586 GB, free: 19.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5966, allocations: 77.62 kB / 0.5587 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.597, allocations: 220 kB / 0.5589 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.597, allocations: 11.72 kB / 0.5589 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.597, allocations: 7.969 kB / 0.559 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5971, allocations: 10.38 kB / 0.559 GB, free: 19.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.6009, allocations: 2.397 MB / 0.5613 GB, free: 18.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6009, allocations: 3.906 kB / 0.5613 GB, free: 18.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.602, allocations: 258.5 kB / 0.5616 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.738e-05/0.602, allocations: 7.75 kB / 0.5616 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6021, allocations: 29.7 kB / 0.5616 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.6022, allocations: 11.72 kB / 0.5616 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.6022, allocations: 7.844 kB / 0.5616 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.6047, allocations: 2.124 MB / 0.5637 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.605, allocations: 196.4 kB / 0.5639 GB, free: 17.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6051, allocations: 36.69 kB / 0.5639 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.6057, allocations: 49.19 kB / 0.5639 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.6059, allocations: 87.45 kB / 0.564 GB, free: 17.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.606, allocations: 34.23 kB / 0.5641 GB, free: 17.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002519/0.6062, allocations: 247.1 kB / 0.5643 GB, free: 17.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6063, allocations: 0 / 0.5643 GB, free: 17.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009458/0.6072, allocations: 204 kB / 0.5645 GB, free: 17.14 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.0002079/0.6074, allocations: 135.9 kB / 0.5646 GB, free: 17.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.6091, allocations: 0.8759 MB / 0.5655 GB, free: 16.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6092, allocations: 1.656 kB / 0.5655 GB, free: 16.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.6101, allocations: 0.5026 MB / 0.566 GB, free: 16.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.6111, allocations: 106.2 kB / 0.5661 GB, free: 16.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.6149, allocations: 2.655 MB / 0.5687 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.616, allocations: 0.9591 MB / 0.5696 GB, free: 30.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.6166, allocations: 101.9 kB / 0.5697 GB, free: 30.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.6168, allocations: 57.36 kB / 0.5698 GB, free: 30.55 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6168, allocations: 0 / 0.5698 GB, free: 30.55 MB / 394.7 MB Notification: Performance of Templates: time 0.01353/0.6304, allocations: 6.338 MB / 0.5759 GB, free: 30.14 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe 2>&1)