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.008425/0.008425, allocations: 96.97 kB / 15.73 MB, free: 6.027 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.001668/0.001668, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001133/0.001133, allocations: 49.53 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 46.62 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003974/0.1217, allocations: 2.58 MB / 375.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.1225, allocations: 390.6 kB / 376.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1226, allocations: 11.94 kB / 376.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1228, allocations: 43.52 kB / 376.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1229, allocations: 99.11 kB / 376.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1233, allocations: 87.83 kB / 376.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1236, allocations: 378.3 kB / 376.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1239, allocations: 111.1 kB / 376.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1241, allocations: 135.6 kB / 377 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1243, allocations: 163.3 kB / 377.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.1244, allocations: 39.94 kB / 377.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.1245, allocations: 28 kB / 377.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.1245, allocations: 75.73 kB / 377.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1247, allocations: 159.3 kB / 377.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1251, allocations: 370.5 kB / 377.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1251, allocations: 0 / 377.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1251, allocations: 3.938 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1251, allocations: 0 / 377.8 MB, free: 12.79 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.001141/0.1263, allocations: 0.6389 MB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1263, allocations: 11.97 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.1264, allocations: 36.7 kB / 378.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1268, allocations: 267.6 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.1269, allocations: 24.94 kB / 378.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.1269, allocations: 32.33 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.1275, allocations: 277.3 kB / 379.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1275, allocations: 192 / 379.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1276, allocations: 19.94 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1276, allocations: 8 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.1282, allocations: 270.1 kB / 379.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.1295, allocations: 0.7952 MB / 380.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.1301, allocations: 359.9 kB / 380.5 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.1305, allocations: 196.7 kB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1305, allocations: 4 kB / 380.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1306, allocations: 42.5 kB / 380.7 MB, free: 9.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.1306, allocations: 0 / 380.7 MB, free: 9.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004167/0.1348, allocations: 1.962 MB / 382.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1348, allocations: 63.97 kB / 382.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.135, allocations: 195 kB / 383 MB, free: 7.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1351, allocations: 37.7 kB / 383 MB, free: 7.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.1352, allocations: 153 kB / 383.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1353, allocations: 230 kB / 383.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1355, allocations: 94.23 kB / 383.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1356, allocations: 338.8 kB / 383.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.136, allocations: 173 kB / 384 MB, free: 6.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1363, allocations: 165 kB / 384.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.137, allocations: 372 kB / 384.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.137, allocations: 0 / 384.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008717/0.1379, allocations: 490.8 kB / 385 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1379, allocations: 8 kB / 385 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1379, allocations: 0 / 385 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.138, allocations: 0 / 385 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.1385, allocations: 127.8 kB / 385.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1385, allocations: 0 / 385.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1387, allocations: 23.98 kB / 385.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.1387, allocations: 19.94 kB / 385.1 MB, free: 5.121 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.0001781/0.1389, allocations: 165.7 kB / 385.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.139, allocations: 31.81 kB / 385.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1391, allocations: 47.28 kB / 385.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1391, allocations: 8 kB / 385.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.1391, allocations: 0 / 385.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.1392, allocations: 7.922 kB / 385.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.1411, allocations: 1.325 MB / 386.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1412, allocations: 4 kB / 386.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.1416, allocations: 128.4 kB / 386.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.1417, allocations: 11.94 kB / 386.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.1417, allocations: 16 kB / 386.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1417, allocations: 8 kB / 386.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.1417, allocations: 7.938 kB / 386.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1431, allocations: 0.8801 MB / 387.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.1432, allocations: 112.9 kB / 387.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.1433, allocations: 20.03 kB / 387.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1435, allocations: 27.98 kB / 387.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1436, allocations: 55.58 kB / 388 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.1437, allocations: 20 kB / 388 MB, free: 2.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1438, allocations: 144.4 kB / 388.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1438, allocations: 0 / 388.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.1442, allocations: 96 kB / 388.2 MB, free: 1.809 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.0001356/0.1444, allocations: 115.1 kB / 388.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008935/0.1453, allocations: 446.9 kB / 388.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1453, allocations: 0 / 388.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.1458, allocations: 252.8 kB / 389 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.1465, allocations: 91.78 kB / 389.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1481, allocations: 1.02 MB / 390.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1485, allocations: 0.7971 MB / 390.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.1487, allocations: 51.25 kB / 391 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1488, allocations: 35.44 kB / 391 MB, free: 14.9 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1488, allocations: 0 / 391 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Templates: time 0.008757/0.1576, allocations: 4.18 MB / 395.2 MB, free: 10.71 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)