Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.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) 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(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 165.9 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.282/1.282, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001579/0.001578, allocations: 108.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.636e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08725, allocations: 38.77 MB / 301 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.3976, allocations: 66.02 MB / 367 MB, free: 2.367 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.3979, allocations: 69.7 kB / 367.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.4119, allocations: 5.594 MB / 372.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4119, allocations: 4 kB / 372.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.412, allocations: 4 kB / 372.7 MB, free: 13.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009568/0.4129, allocations: 0.5544 MB / 373.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.413, allocations: 8.031 kB / 373.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4131, allocations: 35.62 kB / 373.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4135, allocations: 254.1 kB / 373.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.4135, allocations: 11.95 kB / 373.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.4136, allocations: 19.88 kB / 373.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004065/0.414, allocations: 215.8 kB / 373.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.4144, allocations: 212.5 kB / 374 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4144, allocations: 3.938 kB / 374 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.4144, allocations: 0 / 374 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4145, allocations: 8 kB / 374 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.4158, allocations: 0.7415 MB / 374.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.4162, allocations: 325 kB / 375 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.4165, allocations: 164.4 kB / 375.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4165, allocations: 8 kB / 375.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4165, allocations: 35.44 kB / 375.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.4165, allocations: 0 / 375.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002598/0.4192, allocations: 1.477 MB / 376.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4192, allocations: 67.89 kB / 376.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4194, allocations: 154.9 kB / 376.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.4194, allocations: 29.64 kB / 377 MB, free: 9.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.4195, allocations: 148.1 kB / 377.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.4197, allocations: 203.9 kB / 377.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.4197, allocations: 0 / 377.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4199, allocations: 350.9 kB / 377.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4201, allocations: 131.9 kB / 377.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.4203, allocations: 127.5 kB / 377.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.4206, allocations: 145.6 kB / 378 MB, free: 9.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4206, allocations: 0 / 378 MB, free: 9.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007622/0.4214, allocations: 394.7 kB / 378.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4215, allocations: 8 kB / 378.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4215, allocations: 0 / 378.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4215, allocations: 0 / 378.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.4221, allocations: 135.7 kB / 378.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.4222, allocations: 0 / 378.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4224, allocations: 19.98 kB / 378.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.4225, allocations: 19.12 kB / 378.6 MB, free: 8.648 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001878/0.4227, allocations: 112.8 kB / 378.7 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.4228, allocations: 31.62 kB / 378.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.4229, allocations: 44.95 kB / 378.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.423, allocations: 8 kB / 378.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.423, allocations: 0 / 378.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.423, allocations: 3.984 kB / 378.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.4248, allocations: 1.162 MB / 380 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4248, allocations: 4.562 kB / 380 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.4253, allocations: 127.6 kB / 380.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.4253, allocations: 8 kB / 380.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.4253, allocations: 11.98 kB / 380.1 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4254, allocations: 7.938 kB / 380.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.4254, allocations: 8 kB / 380.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4264, allocations: 0.9894 MB / 381.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.4265, allocations: 108.7 kB / 381.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.4266, allocations: 12.03 kB / 381.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4269, allocations: 27.98 kB / 381.3 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.427, allocations: 46.66 kB / 381.3 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.427, allocations: 19.69 kB / 381.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4271, allocations: 128.9 kB / 381.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4271, allocations: 4 kB / 381.5 MB, free: 5.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.4275, allocations: 76 kB / 381.5 MB, free: 5.906 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001918/0.4277, allocations: 111 kB / 381.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.4283, allocations: 361.2 kB / 382 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4283, allocations: 0 / 382 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.4286, allocations: 208 kB / 382.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.4292, allocations: 66.16 kB / 382.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.4307, allocations: 0.7977 MB / 383.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4312, allocations: 0.7969 MB / 383.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.4315, allocations: 43.27 kB / 383.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4316, allocations: 39.31 kB / 383.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of SimCode: time 4.288e-06/0.4316, allocations: 0 / 383.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of Templates: time 0.008644/0.4403, allocations: 3.494 MB / 387.4 MB, free: 156 kB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)