Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 108.1 kB / 17.15 MB, free: 6.305 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.001337/0.001337, allocations: 198 kB / 18.07 MB, free: 5.41 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.306/1.306, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001036/0.001037, allocations: 55.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.08446, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003616/0.08815, allocations: 2.641 MB / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007398/0.08891, allocations: 374.7 kB / 329.7 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.08903, allocations: 4 kB / 329.7 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.08921, allocations: 39.69 kB / 329.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.08935, allocations: 79.31 kB / 329.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.08962, allocations: 79.92 kB / 329.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.08992, allocations: 358.4 kB / 330.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.09011, allocations: 107.8 kB / 330.4 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.09025, allocations: 123.5 kB / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.09047, allocations: 163.3 kB / 330.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.994e-05/0.0906, allocations: 16 kB / 330.6 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.09066, allocations: 20 kB / 330.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.09072, allocations: 59.77 kB / 330.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.09088, allocations: 159.2 kB / 330.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.0912, allocations: 354.7 kB / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.09121, allocations: 0 / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09122, allocations: 0 / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.09123, allocations: 0 / 331.2 MB, free: 248 kB / 270.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.001127/0.09236, allocations: 0.6237 MB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.09242, allocations: 16.03 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.186e-05/0.0925, allocations: 62.73 kB / 331.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.09258, allocations: 32.56 kB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.09306, allocations: 267.5 kB / 332.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.09311, allocations: 24.94 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.09317, allocations: 28.38 kB / 332.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.09373, allocations: 273.3 kB / 332.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.09376, allocations: 11.84 kB / 332.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.09381, allocations: 12 kB / 332.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.09384, allocations: 12 kB / 332.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.0944, allocations: 262.1 kB / 332.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.09576, allocations: 0.7913 MB / 333.6 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.09633, allocations: 362.7 kB / 334 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.09665, allocations: 192.8 kB / 334.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.0967, allocations: 8 kB / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.09672, allocations: 38.5 kB / 334.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.09673, allocations: 0 / 334.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.004141/0.1009, allocations: 1.961 MB / 336.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1009, allocations: 59.97 kB / 336.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1011, allocations: 194.8 kB / 336.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1011, allocations: 41.7 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.1012, allocations: 152.9 kB / 336.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1014, allocations: 216.8 kB / 336.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.1016, allocations: 90.25 kB / 336.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1017, allocations: 346.7 kB / 337.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.1021, allocations: 165 kB / 337.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1024, allocations: 173 kB / 337.6 MB, free: 9.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.103, allocations: 372 kB / 337.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.103, allocations: 0 / 337.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000875/0.1039, allocations: 478.7 kB / 338.4 MB, free: 8.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1039, allocations: 11.94 kB / 338.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1039, allocations: 4 kB / 338.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.104, allocations: 0 / 338.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.1044, allocations: 131.8 kB / 338.6 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1044, allocations: 4 kB / 338.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1046, allocations: 27.91 kB / 338.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.1046, allocations: 16 kB / 338.6 MB, free: 8.527 MB / 286.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.0001407/0.1048, allocations: 157.7 kB / 338.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.1048, allocations: 35.62 kB / 338.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.1049, allocations: 47.33 kB / 338.8 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1049, allocations: 8 kB / 338.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.105, allocations: 0 / 338.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.105, allocations: 7.922 kB / 338.9 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1068, allocations: 1.321 MB / 340.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1068, allocations: 4 kB / 340.2 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.1074, allocations: 127.8 kB / 340.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.1074, allocations: 11.98 kB / 340.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1074, allocations: 16 kB / 340.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1075, allocations: 7.984 kB / 340.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1075, allocations: 11.94 kB / 340.3 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.1087, allocations: 0.8747 MB / 341.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.1088, allocations: 120.7 kB / 341.3 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.1088, allocations: 16 kB / 341.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1091, allocations: 23.98 kB / 341.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.1093, allocations: 51.81 kB / 341.4 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.1093, allocations: 20 kB / 341.5 MB, free: 5.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1094, allocations: 144.6 kB / 341.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1094, allocations: 0 / 341.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1098, allocations: 96 kB / 341.7 MB, free: 5.234 MB / 286.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.001462/0.1113, allocations: 1.435 MB / 343.1 MB, free: 3.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007045/0.112, allocations: 438.6 kB / 343.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.112, allocations: 0 / 343.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1124, allocations: 252.7 kB / 343.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.1131, allocations: 80.08 kB / 343.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.1178, allocations: 3.802 MB / 347.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1181, allocations: 0.7974 MB / 348.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.1184, allocations: 51.25 kB / 348.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1186, allocations: 119.4 kB / 348.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1186, allocations: 3.938 kB / 348.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/0.3789, allocations: 7.013 MB / 355.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.3792, allocations: 208.3 kB / 355.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.387, allocations: 0 / 355.9 MB, free: 6.656 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches