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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9066/0.9066, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.598e-05, allocations: 6.219 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003148/0.003174, allocations: 2.398 MB / 320.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.004278, allocations: 378.5 kB / 321.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.004435, allocations: 7.938 kB / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.00459, allocations: 55.45 kB / 321.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.004739, allocations: 111 kB / 321.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.00504, allocations: 83.88 kB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.005335, allocations: 398.1 kB / 321.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005514, allocations: 83.56 kB / 321.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005698, allocations: 215.5 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005828, allocations: 123.6 kB / 322.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.005866, allocations: 28 kB / 322.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.005898, allocations: 28 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.005943, allocations: 79.73 kB / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006056, allocations: 115.7 kB / 322.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.006399, allocations: 382.7 kB / 322.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006403, allocations: 4 kB / 322.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.006405, allocations: 0 / 322.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.006413, allocations: 0 / 322.9 MB, free: 1.895 MB / 282.7 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.0008867/0.0073, allocations: 0.5559 MB / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.007348, allocations: 8.922 kB / 323.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.007405, allocations: 66.73 kB / 323.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.007458, allocations: 36.75 kB / 323.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.007741, allocations: 205.1 kB / 323.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.007775, allocations: 24.97 kB / 323.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.007818, allocations: 32.38 kB / 323.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.008206, allocations: 278.6 kB / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.008222, allocations: 192 / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.008241, allocations: 12.38 kB / 324.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.008252, allocations: 12.12 kB / 324.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.008603, allocations: 262.4 kB / 324.3 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/0.009508, allocations: 0.6936 MB / 325 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.009898, allocations: 330.7 kB / 325.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.01011, allocations: 181.3 kB / 325.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.01014, allocations: 8 kB / 325.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.01016, allocations: 38.56 kB / 325.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.01016, allocations: 0 / 325.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.002588/0.01275, allocations: 1.826 MB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.01278, allocations: 60.06 kB / 327.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01293, allocations: 199.1 kB / 327.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.01295, allocations: 37.7 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.01303, allocations: 149.1 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.01337, allocations: 222 kB / 328.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.01346, allocations: 94.28 kB / 328.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01356, allocations: 346.7 kB / 328.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.01377, allocations: 161.2 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.01398, allocations: 169.8 kB / 328.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.01441, allocations: 381.9 kB / 329.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01441, allocations: 0 / 329.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005287/0.01494, allocations: 489.1 kB / 329.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01495, allocations: 6.969 kB / 329.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01496, allocations: 0 / 329.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01497, allocations: 8 kB / 329.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.01523, allocations: 123.8 kB / 329.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01523, allocations: 4 kB / 329.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.01532, allocations: 19.98 kB / 329.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01534, allocations: 16 kB / 329.8 MB, free: 10.68 MB / 298.7 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.0001166/0.01546, allocations: 161.7 kB / 330 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.0155, allocations: 39.77 kB / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.01556, allocations: 55.27 kB / 330.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01557, allocations: 8 kB / 330.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.01558, allocations: 0 / 330.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01558, allocations: 3.984 kB / 330.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.01678, allocations: 1.211 MB / 331.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.01679, allocations: 4 kB / 331.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.01704, allocations: 123.8 kB / 331.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.01705, allocations: 12 kB / 331.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.01707, allocations: 20.55 kB / 331.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.01708, allocations: 15.94 kB / 331.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.01708, allocations: 7.938 kB / 331.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.0179, allocations: 0.8634 MB / 332.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.01794, allocations: 43.8 kB / 332.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.01797, allocations: 20 kB / 332.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01809, allocations: 27.92 kB / 332.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.01815, allocations: 59.55 kB / 332.5 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01817, allocations: 24.08 kB / 332.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.01825, allocations: 136.6 kB / 332.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01825, allocations: 0 / 332.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.01851, allocations: 96 kB / 332.8 MB, free: 7.566 MB / 298.7 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.00103/0.01954, allocations: 1.434 MB / 334.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.02012, allocations: 416 kB / 334.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02012, allocations: 3.938 kB / 334.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.02039, allocations: 243.7 kB / 334.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.02082, allocations: 96.3 kB / 334.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.02427, allocations: 3.605 MB / 338.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.02441, allocations: 191.2 kB / 338.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.02454, allocations: 47.25 kB / 338.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.02468, allocations: 120.5 kB / 338.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02469, allocations: 4 kB / 338.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.04545, allocations: 8.47 MB / 347.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.884, allocations: 15.91 kB / 347.4 MB, free: 8.848 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable elastoGap1.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! Error: Could not read variable springDamper1.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable springDamper1.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.65559155214578]