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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 114.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.6 MB / 231.8 MB, free: 4.215 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 59.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1016, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003867/0.1055, allocations: 2.602 MB / 394 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.1062, allocations: 374.7 kB / 394.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1064, allocations: 7.938 kB / 394.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1065, allocations: 51.52 kB / 394.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1067, allocations: 99.12 kB / 394.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.107, allocations: 87.81 kB / 394.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1074, allocations: 382.3 kB / 395 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1076, allocations: 79.11 kB / 395.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1078, allocations: 143.5 kB / 395.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.108, allocations: 171.3 kB / 395.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.1081, allocations: 31.94 kB / 395.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.1081, allocations: 32 kB / 395.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1082, allocations: 63.77 kB / 395.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1084, allocations: 175.1 kB / 395.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1088, allocations: 370.5 kB / 396 MB, free: 4.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1088, allocations: 4 kB / 396 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1088, allocations: 0 / 396 MB, free: 4.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1088, allocations: 0 / 396 MB, free: 4.086 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.001116/0.1099, allocations: 0.6311 MB / 396.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1099, allocations: 12.03 kB / 396.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.032e-05/0.11, allocations: 62.72 kB / 396.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1101, allocations: 44.69 kB / 396.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1105, allocations: 271.6 kB / 397 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1105, allocations: 20.94 kB / 397.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1106, allocations: 44.27 kB / 397.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.1111, allocations: 269.4 kB / 397.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1111, allocations: 7.922 kB / 397.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1112, allocations: 12 kB / 397.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1112, allocations: 8 kB / 397.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.1118, allocations: 262.1 kB / 397.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1131, allocations: 0.7953 MB / 398.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.1138, allocations: 330.8 kB / 398.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.1141, allocations: 176.8 kB / 398.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1141, allocations: 7.938 kB / 399 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1142, allocations: 42.5 kB / 399 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.486e-06/0.1142, allocations: 3.984 kB / 399 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004562/0.1187, allocations: 1.97 MB / 401 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1188, allocations: 63.91 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.119, allocations: 187 kB / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.119, allocations: 41.7 kB / 401.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1191, allocations: 149.2 kB / 401.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.1193, allocations: 230 kB / 401.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.1195, allocations: 90.25 kB / 401.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1196, allocations: 342.7 kB / 402 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.12, allocations: 165 kB / 402.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1204, allocations: 173 kB / 402.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.121, allocations: 372 kB / 402.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.121, allocations: 0 / 402.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000907/0.122, allocations: 482.8 kB / 403.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.122, allocations: 7.938 kB / 403.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.122, allocations: 11.94 kB / 403.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.122, allocations: 7.922 kB / 403.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.1225, allocations: 123.9 kB / 403.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.1225, allocations: 0 / 403.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1227, allocations: 27.92 kB / 403.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.1227, allocations: 16 kB / 403.4 MB, free: 12.38 MB / 334.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.0001766/0.1229, allocations: 157.7 kB / 403.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.123, allocations: 39.8 kB / 403.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.1231, allocations: 43.34 kB / 403.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1231, allocations: 8 kB / 403.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1231, allocations: 0 / 403.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1231, allocations: 7.922 kB / 403.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.1252, allocations: 1.309 MB / 405 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.1253, allocations: 8 kB / 405 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.1257, allocations: 124.3 kB / 405.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.1258, allocations: 8 kB / 405.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.1258, allocations: 27.98 kB / 405.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1258, allocations: 8 kB / 405.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.1258, allocations: 7.938 kB / 405.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.1272, allocations: 0.8723 MB / 406 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1273, allocations: 120.9 kB / 406.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.1274, allocations: 16 kB / 406.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1276, allocations: 27.97 kB / 406.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.1277, allocations: 47.58 kB / 406.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1277, allocations: 24 kB / 406.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1279, allocations: 148.4 kB / 406.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1279, allocations: 0 / 406.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.1283, allocations: 96 kB / 406.5 MB, free: 9.082 MB / 334.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.001748/0.13, allocations: 1.439 MB / 407.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.1309, allocations: 418.7 kB / 408.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1309, allocations: 0 / 408.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.1313, allocations: 248 kB / 408.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.1319, allocations: 96.7 kB / 408.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.1373, allocations: 3.689 MB / 412.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.1377, allocations: 0.7894 MB / 413.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.1379, allocations: 47.27 kB / 413.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.1381, allocations: 119.4 kB / 413.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1381, allocations: 0 / 413.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.1699, allocations: 7.538 MB / 420.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.595, allocations: 4 kB / 420.9 MB, free: 10.36 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable elastoGap1.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable elastoGap1.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! Error: Could not read variable springDamper1.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable springDamper1.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.190452772993012]