Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.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) 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(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001117/0.001117, allocations: 183.4 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.398/1.398, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001649/0.00165, allocations: 124.6 kB / 248.1 MB, free: 12 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.342e-05, allocations: 0 / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08512, allocations: 44.5 MB / 342.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3052/0.3904, allocations: 71.35 MB / 413.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.3906, allocations: 60.59 kB / 414 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01331/0.4039, allocations: 5.581 MB / 419.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.404, allocations: 0 / 419.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.404, allocations: 7.594 kB / 419.6 MB, free: 10.14 MB / 298.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.0006623/0.4047, allocations: 0.5588 MB / 420.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4047, allocations: 7.438 kB / 420.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.4048, allocations: 38.8 kB / 420.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.405, allocations: 246.1 kB / 420.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.405, allocations: 11.66 kB / 420.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.4051, allocations: 15.34 kB / 420.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003273/0.4054, allocations: 212.3 kB / 420.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.4058, allocations: 209.4 kB / 420.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4058, allocations: 7.781 kB / 420.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.4058, allocations: 0 / 420.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4058, allocations: 11.69 kB / 420.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.4069, allocations: 0.7485 MB / 421.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.4073, allocations: 314.7 kB / 421.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.4075, allocations: 176.4 kB / 422.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4075, allocations: 3.75 kB / 422.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.4075, allocations: 43.48 kB / 422.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.432e-06/0.4075, allocations: 0 / 422.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.002133/0.4097, allocations: 1.47 MB / 423.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4097, allocations: 59.81 kB / 423.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4099, allocations: 154.9 kB / 423.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4099, allocations: 25.7 kB / 423.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.41, allocations: 150.9 kB / 424 MB, free: 8.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.72e-05/0.4101, allocations: 207.4 kB / 424.2 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.4101, allocations: 0 / 424.2 MB, free: 8.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.4102, allocations: 339 kB / 424.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4103, allocations: 128.3 kB / 424.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4105, allocations: 130.3 kB / 424.8 MB, free: 7.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4107, allocations: 150.7 kB / 424.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4107, allocations: 4 kB / 424.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004603/0.4112, allocations: 397.7 kB / 425.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4112, allocations: 7.75 kB / 425.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4112, allocations: 0 / 425.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4112, allocations: 3.688 kB / 425.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.4117, allocations: 133.2 kB / 425.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4117, allocations: 0 / 425.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4119, allocations: 25.52 kB / 425.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.412, allocations: 14.53 kB / 425.5 MB, free: 7.617 MB / 298.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.0001257/0.4121, allocations: 108.7 kB / 425.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.4122, allocations: 34.97 kB / 425.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.4123, allocations: 40.05 kB / 425.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4123, allocations: 3.844 kB / 425.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4123, allocations: 7.938 kB / 425.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4123, allocations: 14.73 kB / 425.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.4136, allocations: 1.152 MB / 426.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4136, allocations: 3.969 kB / 426.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.4141, allocations: 127.8 kB / 427 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4141, allocations: 16.14 kB / 427 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4141, allocations: 11.66 kB / 427 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4142, allocations: 7.688 kB / 427 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4142, allocations: 11.77 kB / 427 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.415, allocations: 0.9763 MB / 428 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.4151, allocations: 111.9 kB / 428.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4151, allocations: 7.5 kB / 428.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4154, allocations: 18.73 kB / 428.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.4155, allocations: 57.23 kB / 428.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.4155, allocations: 22.81 kB / 428.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.4156, allocations: 129.4 kB / 428.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4156, allocations: 0 / 428.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.416, allocations: 76.56 kB / 428.4 MB, free: 5.891 MB / 298.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.0001226/0.4161, allocations: 110 kB / 428.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.4165, allocations: 362.7 kB / 428.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4165, allocations: 0 / 428.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.4168, allocations: 219.4 kB / 429.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4172, allocations: 55.73 kB / 429.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.4182, allocations: 0.8033 MB / 430 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4185, allocations: 0.8015 MB / 430.8 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.4187, allocations: 42.36 kB / 430.8 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.4187, allocations: 42.56 kB / 430.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4188, allocations: 0 / 430.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of Templates: time 0.00627/0.425, allocations: 3.513 MB / 434.4 MB, free: 2.633 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)