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/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) 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(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009931/0.009932, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001329/0.001329, allocations: 188.1 kB / 16.67 MB, free: 5.973 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 50.42 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004044/0.1161, allocations: 2.584 MB / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.1168, allocations: 378.6 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.117, allocations: 4 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1171, allocations: 55.5 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1173, allocations: 95.12 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1176, allocations: 99.75 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.118, allocations: 370.4 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1182, allocations: 115.1 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1184, allocations: 151.5 kB / 377 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1186, allocations: 163.3 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.1187, allocations: 28 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.1187, allocations: 36 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.1188, allocations: 67.77 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.119, allocations: 167.2 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.1194, allocations: 362.7 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.1194, allocations: 7.984 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1194, allocations: 0 / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1195, allocations: 3.938 kB / 377.8 MB, free: 12.65 MB / 318.1 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.001187/0.1207, allocations: 0.6198 MB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1207, allocations: 12.03 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1208, allocations: 36.47 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1212, allocations: 279.4 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.1213, allocations: 20.94 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.1213, allocations: 28.38 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.1219, allocations: 273.4 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1219, allocations: 192 / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.122, allocations: 15.94 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.122, allocations: 4 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1225, allocations: 270.1 kB / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1239, allocations: 0.7911 MB / 380.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.1245, allocations: 362.7 kB / 380.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1248, allocations: 200.7 kB / 380.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1249, allocations: 8 kB / 380.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1249, allocations: 34.56 kB / 380.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1249, allocations: 0 / 380.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004159/0.1291, allocations: 1.965 MB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1291, allocations: 63.95 kB / 382.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1293, allocations: 198.9 kB / 382.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1294, allocations: 33.7 kB / 383 MB, free: 7.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1295, allocations: 145 kB / 383.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.1296, allocations: 216.8 kB / 383.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.1297, allocations: 90.25 kB / 383.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1299, allocations: 346.7 kB / 383.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.1302, allocations: 165 kB / 383.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.1305, allocations: 173 kB / 384.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.1312, allocations: 376 kB / 384.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1312, allocations: 0 / 384.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008416/0.1321, allocations: 494.5 kB / 384.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1321, allocations: 4 kB / 384.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1321, allocations: 0 / 384.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1321, allocations: 4 kB / 384.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.1326, allocations: 119.9 kB / 385.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1326, allocations: 4 kB / 385.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1328, allocations: 23.98 kB / 385.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.1329, allocations: 15.94 kB / 385.1 MB, free: 5.016 MB / 318.1 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 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.1331, allocations: 161.7 kB / 385.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.1331, allocations: 39.62 kB / 385.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1333, allocations: 47.33 kB / 385.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1333, allocations: 4 kB / 385.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1333, allocations: 4 kB / 385.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1333, allocations: 3.984 kB / 385.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.1352, allocations: 1.313 MB / 386.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1352, allocations: 4 kB / 386.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.1357, allocations: 128.4 kB / 386.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.1358, allocations: 11.94 kB / 386.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.1358, allocations: 19.98 kB / 386.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1358, allocations: 7.938 kB / 386.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1358, allocations: 8 kB / 386.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1371, allocations: 0.8721 MB / 387.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.1372, allocations: 120.7 kB / 387.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.1373, allocations: 16 kB / 387.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1375, allocations: 23.98 kB / 387.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.1376, allocations: 63.56 kB / 387.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.1377, allocations: 20 kB / 388 MB, free: 1.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1378, allocations: 144.4 kB / 388.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1378, allocations: 0 / 388.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.1382, allocations: 92 kB / 388.2 MB, free: 1.715 MB / 318.1 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 () * Number of clocked 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 (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.0001514/0.1383, allocations: 119.1 kB / 388.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.1392, allocations: 446.9 kB / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1392, allocations: 4 kB / 388.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.1396, allocations: 248.8 kB / 389 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.1403, allocations: 99.8 kB / 389.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.142, allocations: 1.005 MB / 390.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1424, allocations: 0.7894 MB / 390.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.1426, allocations: 47.27 kB / 390.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1427, allocations: 39.42 kB / 391 MB, free: 14.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1427, allocations: 0 / 391 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Templates: time 0.007755/0.1504, allocations: 4.181 MB / 395.1 MB, free: 10.63 MB / 334.1 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)