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.009471/0.009472, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001772/0.001772, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001208/0.001208, allocations: 49.48 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09971, 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.00391/0.1037, allocations: 2.58 MB / 375.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1044, allocations: 382.6 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1046, allocations: 4 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1048, allocations: 51.52 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.105, allocations: 99.11 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1054, allocations: 87.83 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.1058, allocations: 382.3 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.106, allocations: 111.1 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1062, allocations: 139.5 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1064, allocations: 167.3 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.1064, allocations: 28 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.1065, allocations: 28 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.1066, allocations: 75.73 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.1068, allocations: 163.2 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.1072, allocations: 366.7 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1072, allocations: 0 / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1073, allocations: 11.94 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1073, allocations: 0 / 377.8 MB, free: 12.66 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.001164/0.1084, allocations: 0.6237 MB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1085, allocations: 8.031 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.1086, allocations: 40.47 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.109, allocations: 271.4 kB / 378.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1091, allocations: 20.94 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.1091, allocations: 28.38 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.1097, allocations: 273.4 kB / 379 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1097, allocations: 8.172 kB / 379 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1097, allocations: 15.94 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1098, allocations: 4 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.1103, allocations: 270.1 kB / 379.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1116, allocations: 0.7989 MB / 380.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1122, allocations: 358.7 kB / 380.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.1126, allocations: 192.7 kB / 380.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.1126, allocations: 12 kB / 380.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1127, allocations: 34.56 kB / 380.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.1127, allocations: 0 / 380.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004655/0.1173, allocations: 1.965 MB / 382.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1174, allocations: 55.97 kB / 382.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1177, allocations: 198.9 kB / 382.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1178, allocations: 37.69 kB / 383 MB, free: 7.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1179, allocations: 145 kB / 383.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1181, allocations: 216.8 kB / 383.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1183, allocations: 98.23 kB / 383.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1184, allocations: 346.8 kB / 383.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1188, allocations: 161 kB / 383.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.1191, allocations: 169 kB / 384.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.1198, allocations: 380 kB / 384.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1198, allocations: 0 / 384.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008038/0.1206, allocations: 486.5 kB / 384.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1206, allocations: 4 kB / 384.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1207, allocations: 3.984 kB / 384.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.1207, allocations: 4 kB / 384.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.1212, allocations: 119.8 kB / 385.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1212, allocations: 8 kB / 385.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1214, allocations: 19.98 kB / 385.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1214, allocations: 19.94 kB / 385.1 MB, free: 5.023 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.0001858/0.1216, allocations: 165.7 kB / 385.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.1217, allocations: 31.62 kB / 385.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.1218, allocations: 47.34 kB / 385.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1219, allocations: 4 kB / 385.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1219, allocations: 0 / 385.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1219, allocations: 11.92 kB / 385.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.1238, allocations: 1.313 MB / 386.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1238, allocations: 4 kB / 386.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.1243, allocations: 123.8 kB / 386.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.1243, allocations: 7.938 kB / 386.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.1244, allocations: 19.98 kB / 386.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.1244, allocations: 11.94 kB / 386.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1244, allocations: 4 kB / 386.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.1258, allocations: 0.8801 MB / 387.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.1259, allocations: 108.7 kB / 387.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.1259, allocations: 20 kB / 387.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.1262, allocations: 32.02 kB / 387.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.1263, allocations: 55.58 kB / 387.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1263, allocations: 20 kB / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1265, allocations: 144.4 kB / 388.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1265, allocations: 0 / 388.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.1269, allocations: 96 kB / 388.2 MB, free: 1.727 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.0001403/0.127, allocations: 123.2 kB / 388.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.1278, allocations: 438.9 kB / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1278, allocations: 0 / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.1283, allocations: 260.3 kB / 389 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.1289, allocations: 95.73 kB / 389.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1306, allocations: 1.009 MB / 390.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1309, allocations: 0.7933 MB / 390.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.1311, 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.0001076/0.1312, allocations: 35.44 kB / 391 MB, free: 14.83 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1312, allocations: 0 / 391 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Templates: time 0.00852/0.1398, allocations: 4.188 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)