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/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.2_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001162/0.001162, allocations: 104.5 kB / 17.06 MB, free: 6.145 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.001309/0.00131, allocations: 195 kB / 18 MB, free: 5.219 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.527/1.527, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001291/0.001291, allocations: 51.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004536/0.1235, allocations: 2.583 MB / 377.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1246, allocations: 374.7 kB / 377.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.1251, allocations: 7.938 kB / 377.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1254, allocations: 47.52 kB / 377.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1258, allocations: 103.1 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.1263, allocations: 87.83 kB / 377.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.1269, allocations: 374.3 kB / 378 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.1272, allocations: 123 kB / 378.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.1275, allocations: 139.6 kB / 378.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1278, allocations: 167.3 kB / 378.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.1279, allocations: 31.94 kB / 378.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.128, allocations: 32 kB / 378.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.1281, allocations: 75.75 kB / 378.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1283, allocations: 159.2 kB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2535/0.3818, allocations: 365.2 kB / 379.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.3819, allocations: 0.5 kB / 379.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3819, allocations: 0 / 379.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.3819, allocations: 0.7188 kB / 379.1 MB, free: 10.49 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.001719/0.3837, allocations: 0.6206 MB / 379.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3837, allocations: 10.8 kB / 379.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3839, allocations: 34.44 kB / 379.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.3844, allocations: 275.8 kB / 380 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3844, allocations: 21.88 kB / 380.1 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.3845, allocations: 33.3 kB / 380.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.3854, allocations: 274.2 kB / 380.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.3855, allocations: 3.594 kB / 380.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.3855, allocations: 12 kB / 380.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3856, allocations: 6.875 kB / 380.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3866, allocations: 272.2 kB / 380.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.3887, allocations: 0.802 MB / 381.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.3899, allocations: 354.1 kB / 381.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.3906, allocations: 200.5 kB / 382 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.325e-05/0.3907, allocations: 5.828 kB / 382 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3908, allocations: 36.44 kB / 382 MB, free: 9.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 4.047e-06/0.3908, allocations: 0 / 382 MB, free: 9.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007471/0.3983, allocations: 1.969 MB / 384 MB, free: 8.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.3983, allocations: 59.23 kB / 384.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3986, allocations: 198.4 kB / 384.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.3987, allocations: 36.3 kB / 384.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3988, allocations: 143.6 kB / 384.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.399, allocations: 218 kB / 384.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3992, allocations: 92.2 kB / 384.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.3993, allocations: 348.6 kB / 385.1 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.3999, allocations: 161.5 kB / 385.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.4005, allocations: 167.4 kB / 385.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4017, allocations: 374.8 kB / 385.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4017, allocations: 8.172 kB / 385.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001488/0.4032, allocations: 487.5 kB / 386.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4033, allocations: 5.016 kB / 386.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4033, allocations: 1.625 kB / 386.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.4033, allocations: 2.531 kB / 386.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.4043, allocations: 120 kB / 386.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4043, allocations: 3.875 kB / 386.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4047, allocations: 26.75 kB / 386.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.4048, allocations: 24.75 kB / 386.4 MB, free: 7.312 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.0002225/0.405, allocations: 156.1 kB / 386.6 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4051, allocations: 33.72 kB / 386.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.4053, allocations: 51.22 kB / 386.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.4053, allocations: 6.438 kB / 386.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4053, allocations: 1.094 kB / 386.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4054, allocations: 7.188 kB / 386.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.4087, allocations: 1.315 MB / 388 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.4087, allocations: 6.281 kB / 388 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.4095, allocations: 125.7 kB / 388.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.4096, allocations: 10.31 kB / 388.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.4096, allocations: 18.16 kB / 388.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/0.4097, allocations: 11.66 kB / 388.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.4097, allocations: 6.203 kB / 388.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4116, allocations: 0.8759 MB / 389 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4117, allocations: 119.5 kB / 389.1 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.4118, allocations: 18.23 kB / 389.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.4122, allocations: 26.47 kB / 389.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.4124, allocations: 57.44 kB / 389.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.4124, allocations: 21.09 kB / 389.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4126, allocations: 142.2 kB / 389.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4126, allocations: 0 / 389.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006697/0.4133, allocations: 95.41 kB / 389.5 MB, free: 5.508 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.0001817/0.4135, allocations: 118.2 kB / 389.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.4149, allocations: 445.8 kB / 390.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4149, allocations: 2.406 kB / 390.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.4155, allocations: 255.2 kB / 390.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.4164, allocations: 87.2 kB / 390.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4185, allocations: 1.004 MB / 391.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4188, allocations: 0.7913 MB / 392.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.4191, allocations: 49.11 kB / 392.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.4192, allocations: 36.5 kB / 392.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4193, allocations: 0 / 392.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Templates: time 0.01204/0.4313, allocations: 4.278 MB / 396.5 MB, free: 3.445 MB / 318.1 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)