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.001103/0.001103, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001095/0.001095, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.212/1.212, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000937/0.000937, allocations: 46.64 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08304/0.08399, allocations: 49.44 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003306/0.08732, allocations: 2.649 MB / 352.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005581/0.0879, allocations: 378.6 kB / 352.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.08801, allocations: 4 kB / 352.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.08815, allocations: 39.62 kB / 352.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.08831, allocations: 87.31 kB / 352.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.08856, allocations: 87.84 kB / 352.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.08887, allocations: 370.4 kB / 353.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.08906, allocations: 115.1 kB / 353.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.08921, allocations: 135.6 kB / 353.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.08938, allocations: 163.2 kB / 353.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.08943, allocations: 32 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.08948, allocations: 28 kB / 353.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.08954, allocations: 71.77 kB / 353.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.08967, allocations: 163.2 kB / 354 MB, free: 344 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.08997, allocations: 366.9 kB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.08998, allocations: 4 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08998, allocations: 0 / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.09, allocations: 4 kB / 354.3 MB, free: 15.97 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.00096/0.09096, allocations: 0.6237 MB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.091, allocations: 8.031 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.09107, allocations: 66.72 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.09113, allocations: 32.56 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.09137, allocations: 271.4 kB / 355.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.0914, allocations: 28.81 kB / 355.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.09145, allocations: 32.28 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.09195, allocations: 273.4 kB / 355.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.09198, allocations: 7.938 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.09201, allocations: 11.98 kB / 355.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.09202, allocations: 8 kB / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.09254, allocations: 266.1 kB / 355.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.09369, allocations: 0.7835 MB / 356.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.09424, allocations: 370.6 kB / 357.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.09457, allocations: 200.6 kB / 357.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.09461, allocations: 7.984 kB / 357.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.09464, allocations: 38.56 kB / 357.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.09465, allocations: 4 kB / 357.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.003837/0.09849, allocations: 1.964 MB / 359.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.09853, allocations: 63.91 kB / 359.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.09869, allocations: 191 kB / 359.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.09873, allocations: 33.7 kB / 359.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.09882, allocations: 156.9 kB / 359.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.09895, allocations: 208.9 kB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.09907, allocations: 90.25 kB / 360 MB, free: 9.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09919, allocations: 350.7 kB / 360.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.09949, allocations: 157 kB / 360.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.09979, allocations: 173 kB / 360.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.1004, allocations: 380 kB / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1004, allocations: 0 / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008004/0.1012, allocations: 490.5 kB / 361.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1012, allocations: 4 kB / 361.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1013, allocations: 0 / 361.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1013, allocations: 8 kB / 361.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.1017, allocations: 119.9 kB / 361.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1017, allocations: 4 kB / 361.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1019, allocations: 27.92 kB / 361.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1019, allocations: 16 kB / 361.7 MB, free: 8.262 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.0001436/0.1021, allocations: 161.7 kB / 361.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.1022, allocations: 39.61 kB / 361.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.1023, allocations: 47.34 kB / 362 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1023, allocations: 8 kB / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1023, allocations: 0 / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1023, allocations: 7.922 kB / 362 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1041, allocations: 1.314 MB / 363.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1042, allocations: 4 kB / 363.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.1047, allocations: 127.8 kB / 363.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1048, allocations: 7.938 kB / 363.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1048, allocations: 19.98 kB / 363.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1048, allocations: 8 kB / 363.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.1048, allocations: 11.92 kB / 363.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.106, allocations: 0.8786 MB / 364.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.106, allocations: 120.5 kB / 364.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.1061, allocations: 16 kB / 364.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1064, allocations: 31.97 kB / 364.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.1064, allocations: 51.83 kB / 364.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1065, allocations: 20 kB / 364.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.1066, allocations: 136.6 kB / 364.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1066, allocations: 4 kB / 364.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.1069, allocations: 92 kB / 364.8 MB, free: 4.961 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.001397/0.1083, allocations: 1.443 MB / 366.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008452/0.1092, allocations: 462.7 kB / 366.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1092, allocations: 0 / 366.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.1096, allocations: 256.7 kB / 366.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.1102, allocations: 85.98 kB / 367 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/0.2394, allocations: 3.808 MB / 370.8 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2396, allocations: 0.8002 MB / 371.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.2398, allocations: 45.45 kB / 371.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.24, allocations: 121.1 kB / 371.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.24, allocations: 0 / 371.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/0.4201, allocations: 7.19 MB / 379 MB, free: 22.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.4203, allocations: 214.7 kB / 379.2 MB, free: 22.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.631, allocations: 0 / 379.2 MB, free: 22.73 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