Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_4_0_0_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.00104/0.00104, allocations: 93.23 kB / 16.65 MB, free: 6.348 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.001094/0.001094, allocations: 177.8 kB / 17.56 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 11.98 kB / 301.5 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 50.41 MB / 351.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002979/0.1045, allocations: 2.275 MB / 354.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.1056, allocations: 378.6 kB / 354.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1058, allocations: 7.938 kB / 354.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1061, allocations: 43.64 kB / 354.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.1064, allocations: 83.31 kB / 354.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.1068, allocations: 75.86 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.1073, allocations: 362.4 kB / 355.2 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1075, allocations: 95.66 kB / 355.2 MB, free: 60 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1078, allocations: 119.5 kB / 355.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1081, allocations: 147.3 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.1082, allocations: 16 kB / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.1082, allocations: 20 kB / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.1083, allocations: 55.77 kB / 355.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1085, allocations: 176.9 kB / 355.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1088, allocations: 342.9 kB / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1088, allocations: 0 / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1088, allocations: 0 / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1089, allocations: 0 / 356.1 MB, free: 15.19 MB / 302.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.001043/0.1099, allocations: 0.5887 MB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.11, allocations: 8.031 kB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.1101, allocations: 70.72 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.365e-05/0.1102, allocations: 32.56 kB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.1105, allocations: 271.5 kB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.1106, allocations: 20.94 kB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.1106, allocations: 24.38 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.1112, allocations: 285.4 kB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.1113, allocations: 15.83 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1113, allocations: 8 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1113, allocations: 8 kB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.112, allocations: 286 kB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1133, allocations: 0.7952 MB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.1139, allocations: 377.8 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.1144, allocations: 200.8 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.1144, allocations: 4 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1145, allocations: 42.55 kB / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.1145, allocations: 0 / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.00446/0.1189, allocations: 2.046 MB / 361.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.119, allocations: 59.97 kB / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1192, allocations: 199 kB / 361.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1193, allocations: 33.7 kB / 361.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.1194, allocations: 152.9 kB / 361.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.1195, allocations: 208.9 kB / 361.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.1196, allocations: 57.69 kB / 361.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1198, allocations: 346.7 kB / 362.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.1201, allocations: 173 kB / 362.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1205, allocations: 173 kB / 362.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.1212, allocations: 396 kB / 362.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1212, allocations: 0 / 362.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008703/0.1221, allocations: 0.4908 MB / 363.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1221, allocations: 8 kB / 363.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1221, allocations: 0 / 363.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1222, allocations: 0 / 363.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.1227, allocations: 127.8 kB / 363.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1227, allocations: 4 kB / 363.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1229, allocations: 39.91 kB / 363.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.123, allocations: 16 kB / 363.6 MB, free: 7.375 MB / 302.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.0001759/0.1231, allocations: 157.7 kB / 363.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.1232, allocations: 35.62 kB / 363.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1233, allocations: 51.33 kB / 363.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1233, allocations: 4 kB / 363.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1234, allocations: 0 / 363.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1234, allocations: 7.922 kB / 363.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.1254, allocations: 1.329 MB / 365.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.1255, allocations: 8 kB / 365.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.126, allocations: 132.3 kB / 365.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.126, allocations: 12 kB / 365.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.126, allocations: 16 kB / 365.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.126, allocations: 15.92 kB / 365.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/0.1261, allocations: 4 kB / 365.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.1275, allocations: 0.9056 MB / 366.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.1276, allocations: 116.7 kB / 366.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.1276, allocations: 16 kB / 366.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.1279, allocations: 35.98 kB / 366.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.128, allocations: 47.77 kB / 366.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.1281, allocations: 27.98 kB / 366.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1282, allocations: 144.6 kB / 366.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1282, allocations: 0 / 366.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.1286, allocations: 96 kB / 366.7 MB, free: 4.02 MB / 302.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.001683/0.1303, allocations: 1.451 MB / 368.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/0.1312, allocations: 458.6 kB / 368.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1312, allocations: 4 kB / 368.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.1316, allocations: 260.7 kB / 368.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.1324, allocations: 90.66 kB / 369 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1804/0.3128, allocations: 3.939 MB / 372.9 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3131, allocations: 0.7923 MB / 373.7 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.3134, allocations: 51.86 kB / 373.8 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3136, allocations: 118.9 kB / 373.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3136, allocations: 0 / 373.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6078/0.9214, allocations: 6.889 MB / 380.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.9217, allocations: 206.4 kB / 381 MB, free: 21.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.963, allocations: 3.516 kB / 381 MB, free: 21.46 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches