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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008971/0.008971, allocations: 100.6 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.8 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 222.6 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3912/0.3912, allocations: 38 MB / 307.9 MB, free: 10.11 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 63.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4277, allocations: 56.47 MB / 489.4 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006098/0.4339, allocations: 4.081 MB / 493.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.437, allocations: 1.116 MB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.4375, allocations: 13.91 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.4379, allocations: 100.3 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.4385, allocations: 203.3 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.4394, allocations: 196.3 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4406, allocations: 0.7759 MB / 495.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.4412, allocations: 246.5 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.4419, allocations: 304.5 kB / 496.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.4426, allocations: 336.2 kB / 496.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.4428, allocations: 58.16 kB / 496.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.4431, allocations: 90.53 kB / 496.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4433, allocations: 147.1 kB / 497.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.4438, allocations: 345 kB / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.4454, allocations: 0.7697 MB / 498.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.4454, allocations: 0.7031 kB / 498.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4454, allocations: 5.031 kB / 498.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4455, allocations: 0 / 498.2 MB, free: 14.35 MB / 382.1 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.002306/0.4478, allocations: 0.9969 MB / 499.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4478, allocations: 13.48 kB / 499.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.448, allocations: 75.25 kB / 499.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.4486, allocations: 402.3 kB / 499.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.4487, allocations: 49.77 kB / 499.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.4488, allocations: 65.42 kB / 499.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4503, allocations: 0.6313 MB / 0.4887 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.4504, allocations: 9.5 kB / 0.4887 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.4505, allocations: 21.34 kB / 0.4887 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.4505, allocations: 13.19 kB / 0.4887 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.452, allocations: 0.5265 MB / 0.4892 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.4562, allocations: 2.155 MB / 0.4913 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.458, allocations: 0.6933 MB / 0.492 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/0.4589, allocations: 342.5 kB / 0.4923 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.4591, allocations: 97 kB / 0.4924 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.4592, allocations: 50.3 kB / 0.4925 GB, free: 10.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.957e-06/0.4592, allocations: 0 / 0.4925 GB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.009676/0.4689, allocations: 4.507 MB / 0.4969 GB, free: 7.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.469, allocations: 219.1 kB / 0.4971 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.4695, allocations: 365.5 kB / 0.4974 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.4696, allocations: 45.42 kB / 0.4975 GB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4698, allocations: 270.2 kB / 0.4977 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.4701, allocations: 404 kB / 0.4981 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.4704, allocations: 183.8 kB / 0.4983 GB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4705, allocations: 377 kB / 0.4987 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.4713, allocations: 327.3 kB / 0.499 GB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/0.4722, allocations: 0.4983 MB / 0.4995 GB, free: 5.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.4739, allocations: 0.8716 MB / 0.5003 GB, free: 5.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4739, allocations: 1.703 kB / 0.5003 GB, free: 5.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002463/0.4764, allocations: 1.008 MB / 0.5013 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.4765, allocations: 12.23 kB / 0.5013 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4765, allocations: 4.812 kB / 0.5013 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.055e-05/0.4765, allocations: 10.31 kB / 0.5013 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4778, allocations: 285.1 kB / 0.5016 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/0.4779, allocations: 15.11 kB / 0.5016 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.4785, allocations: 46.75 kB / 0.5017 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.4786, allocations: 48.81 kB / 0.5017 GB, free: 4.887 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004237/0.479, allocations: 229.6 kB / 0.5019 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.4792, allocations: 73.02 kB / 0.502 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.4797, allocations: 226.5 kB / 0.5022 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.4797, allocations: 12.22 kB / 0.5022 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/0.4798, allocations: 2.281 kB / 0.5022 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4798, allocations: 10.22 kB / 0.5022 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.4836, allocations: 2.32 MB / 0.5045 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4837, allocations: 3.812 kB / 0.5045 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.4847, allocations: 255.1 kB / 0.5047 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.4848, allocations: 7.797 kB / 0.5048 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.4849, allocations: 41.7 kB / 0.5048 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.4849, allocations: 8.719 kB / 0.5048 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4849, allocations: 7.672 kB / 0.5048 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.4876, allocations: 1.914 MB / 0.5067 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.488, allocations: 195 kB / 0.5069 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.4881, allocations: 28.91 kB / 0.5069 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.4887, allocations: 44.16 kB / 0.5069 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.4889, allocations: 85.42 kB / 0.507 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.489, allocations: 36.67 kB / 0.507 GB, free: 1.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.4893, allocations: 250.2 kB / 0.5073 GB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4893, allocations: 0 / 0.5073 GB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001589/0.4909, allocations: 193.3 kB / 0.5075 GB, free: 0.9922 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.4911, allocations: 141.5 kB / 0.5076 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.4933, allocations: 0.8454 MB / 0.5084 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/0.4933, allocations: 0.875 kB / 0.5084 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009746/0.4943, allocations: 495.1 kB / 0.5089 GB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4957, allocations: 131.1 kB / 0.509 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.4997, allocations: 2.194 MB / 0.5112 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.5005, allocations: 0.942 MB / 0.5121 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.501, allocations: 103.2 kB / 0.5122 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5012, allocations: 64.73 kB / 0.5123 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.885e-06/0.5012, allocations: 0 / 0.5123 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.0185/0.5197, allocations: 7.446 MB / 0.5195 GB, free: 7.777 MB / 398.1 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)