Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.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.006455/0.006455, allocations: 102 kB / 15.73 MB, free: 5.988 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.001206/0.001206, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.00121/0.00121, allocations: 50.84 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 46.62 MB / 373.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00431/0.1085, allocations: 2.595 MB / 375.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009781/0.1095, allocations: 374.6 kB / 376.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.1098, allocations: 7.938 kB / 376.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1101, allocations: 55.5 kB / 376.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1104, allocations: 99.12 kB / 376.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1108, allocations: 87.88 kB / 376.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.1111, allocations: 374.4 kB / 376.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1114, allocations: 115.1 kB / 376.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1116, allocations: 147.5 kB / 377 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1118, allocations: 159.3 kB / 377.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1118, allocations: 32 kB / 377.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.1119, allocations: 28 kB / 377.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.112, allocations: 71.75 kB / 377.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1121, allocations: 167.2 kB / 377.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1125, allocations: 370.7 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1125, allocations: 0 / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1125, allocations: 3.938 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1126, allocations: 4 kB / 377.8 MB, free: 12.78 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.001226/0.1138, allocations: 0.6198 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.1139, allocations: 8.031 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.114, allocations: 40.47 kB / 378.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.1145, allocations: 279.3 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.1145, allocations: 16.94 kB / 378.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.1146, allocations: 32.38 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.1152, allocations: 269.4 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.1152, allocations: 8.188 kB / 379.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.1153, allocations: 15.92 kB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1153, allocations: 8 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.1159, allocations: 270 kB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.1172, allocations: 0.795 MB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/0.1178, allocations: 354.8 kB / 380.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.1181, allocations: 196.7 kB / 380.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.1182, allocations: 4 kB / 380.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1182, allocations: 42.56 kB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.1182, allocations: 0 / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004289/0.1225, allocations: 1.961 MB / 382.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1226, allocations: 59.97 kB / 382.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1228, allocations: 194.9 kB / 382.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.1229, allocations: 37.7 kB / 383 MB, free: 7.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.123, allocations: 145 kB / 383.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1231, allocations: 220.8 kB / 383.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1233, allocations: 90.25 kB / 383.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1234, allocations: 354.7 kB / 383.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.1238, allocations: 157 kB / 383.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.1241, allocations: 169 kB / 384.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.1248, allocations: 380 kB / 384.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1248, allocations: 0 / 384.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008406/0.1257, allocations: 486.6 kB / 384.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1257, allocations: 8 kB / 384.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1257, allocations: 0 / 384.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1257, allocations: 0 / 384.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.1263, allocations: 127.8 kB / 385.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.1263, allocations: 4 kB / 385.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1265, allocations: 23.98 kB / 385.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.1266, allocations: 19.94 kB / 385.1 MB, free: 5.145 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.0002022/0.1268, allocations: 161.7 kB / 385.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.1268, allocations: 31.62 kB / 385.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.127, allocations: 51.31 kB / 385.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.127, allocations: 8 kB / 385.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.127, allocations: 3.938 kB / 385.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.127, allocations: 11.92 kB / 385.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.129, allocations: 1.305 MB / 386.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.129, allocations: 11.94 kB / 386.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.1295, allocations: 115.9 kB / 386.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.1296, allocations: 15.88 kB / 386.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.1296, allocations: 19.98 kB / 386.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1296, allocations: 8 kB / 386.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1296, allocations: 4 kB / 386.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.131, allocations: 0.8839 MB / 387.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.1311, allocations: 112.7 kB / 387.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.1312, allocations: 16 kB / 387.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1314, allocations: 23.98 kB / 387.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.1315, allocations: 63.56 kB / 387.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.1316, allocations: 20 kB / 388 MB, free: 2.074 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1317, allocations: 140.4 kB / 388.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1317, allocations: 0 / 388.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.1321, allocations: 96 kB / 388.2 MB, free: 1.844 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.0001478/0.1323, allocations: 123.1 kB / 388.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008723/0.1331, allocations: 442.9 kB / 388.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1332, allocations: 0 / 388.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.1336, allocations: 256.4 kB / 389 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.1343, allocations: 91.72 kB / 389.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1361, allocations: 1.006 MB / 390.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1364, allocations: 0.7933 MB / 390.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1366, allocations: 47.25 kB / 390.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1367, allocations: 35.44 kB / 391 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1368, allocations: 0 / 391 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Templates: time 0.008708/0.1455, allocations: 4.188 MB / 395.1 MB, free: 10.75 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)