Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00895/0.00895, allocations: 168.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001712, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.317/0.317, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 19.98 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 48.69 MB / 411.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4749, allocations: 78.42 MB / 490 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4751, allocations: 59.05 kB / 490 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02971/0.5049, allocations: 11.32 MB / 0.4896 GB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5049, allocations: 4 kB / 0.4896 GB, free: 15.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.491e-05/0.505, allocations: 19.98 kB / 0.4896 GB, free: 15.85 MB / 346.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.002241/0.5073, allocations: 0.9231 MB / 0.4905 GB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5073, allocations: 8.031 kB / 0.4905 GB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.5076, allocations: 75.16 kB / 0.4906 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.5082, allocations: 369.7 kB / 0.491 GB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.5083, allocations: 45.75 kB / 0.491 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5084, allocations: 67.12 kB / 0.4911 GB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.5097, allocations: 0.6307 MB / 0.4917 GB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/0.5098, allocations: 7.906 kB / 0.4917 GB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.5099, allocations: 29.95 kB / 0.4917 GB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5099, allocations: 12 kB / 0.4917 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5111, allocations: 0.56 MB / 0.4923 GB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.5146, allocations: 2.055 MB / 0.4943 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.5159, allocations: 0.6678 MB / 0.4949 GB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.516, allocations: 12.44 kB / 0.4949 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.516, allocations: 46.19 kB / 0.495 GB, free: 11.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.5161, allocations: 0 / 0.495 GB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.008532/0.5246, allocations: 4.533 MB / 0.4994 GB, free: 6.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5248, allocations: 166.8 kB / 0.4996 GB, free: 6.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.5253, allocations: 330.2 kB / 0.4999 GB, free: 6.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.5253, allocations: 45.58 kB / 0.4999 GB, free: 6.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.5256, allocations: 272.2 kB / 0.5002 GB, free: 6.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.526, allocations: 411.6 kB / 0.5006 GB, free: 5.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.5261, allocations: 23.19 kB / 0.5006 GB, free: 5.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.5263, allocations: 379.6 kB / 0.501 GB, free: 5.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008125/0.5271, allocations: 343.4 kB / 0.5013 GB, free: 5.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/0.5281, allocations: 0.5175 MB / 0.5018 GB, free: 4.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/0.529, allocations: 410.3 kB / 0.5022 GB, free: 4.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.529, allocations: 0 / 0.5022 GB, free: 4.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002036/0.5311, allocations: 1.048 MB / 0.5032 GB, free: 3.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5311, allocations: 8 kB / 0.5032 GB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5311, allocations: 4.438 kB / 0.5032 GB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.5312, allocations: 16 kB / 0.5032 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5323, allocations: 293.8 kB / 0.5035 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/0.5323, allocations: 12 kB / 0.5035 GB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.5329, allocations: 56.41 kB / 0.5036 GB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.533, allocations: 46.3 kB / 0.5036 GB, free: 3.363 MB / 346.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.0004099/0.5334, allocations: 237 kB / 0.5039 GB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.5337, allocations: 79.12 kB / 0.5039 GB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.5344, allocations: 321.8 kB / 0.5042 GB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.5344, allocations: 12 kB / 0.5043 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.5344, allocations: 144 / 0.5043 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5344, allocations: 15.95 kB / 0.5043 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.5387, allocations: 2.448 MB / 0.5067 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5387, allocations: 4 kB / 0.5067 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.5398, allocations: 261.6 kB / 0.5069 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.252e-05/0.5398, allocations: 11.98 kB / 0.5069 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/0.5399, allocations: 31.52 kB / 0.507 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.54, allocations: 11.92 kB / 0.507 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.54, allocations: 4 kB / 0.507 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.5429, allocations: 1.982 MB / 0.5089 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.5433, allocations: 208 kB / 0.5091 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5435, allocations: 24.28 kB / 0.5091 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.5441, allocations: 51.97 kB / 0.5092 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.5443, allocations: 96.33 kB / 0.5093 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.5444, allocations: 31.94 kB / 0.5093 GB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003173/0.5447, allocations: 259.1 kB / 0.5095 GB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5447, allocations: 0 / 0.5095 GB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009394/0.5456, allocations: 208 kB / 0.5097 GB, free: 13.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.0002662/0.5459, allocations: 140.3 kB / 0.5099 GB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.5477, allocations: 0.898 MB / 0.5108 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5477, allocations: 0 / 0.5108 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.5486, allocations: 0.5077 MB / 0.5113 GB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.5494, allocations: 99.95 kB / 0.5114 GB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.5536, allocations: 2.676 MB / 0.514 GB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.5543, allocations: 0.9691 MB / 0.5149 GB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.5548, allocations: 93.64 kB / 0.515 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.5551, allocations: 59.42 kB / 0.5151 GB, free: 8.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5551, allocations: 0 / 0.5151 GB, free: 8.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01506/0.5702, allocations: 6.5 MB / 0.5214 GB, free: 1.824 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1)