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.0007977/0.0007977, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003361/0.003361, allocations: 162.5 kB / 24.69 MB, free: 8.887 MB / 18.57 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 0.8926/0.8926, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.802e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002498/0.002516, allocations: 2.397 MB / 300.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.003193, allocations: 370.7 kB / 301.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003304, allocations: 7.938 kB / 301.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.003461, allocations: 51.5 kB / 301.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.003605, allocations: 107 kB / 301.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.003934, allocations: 91.8 kB / 301.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.004203, allocations: 394.1 kB / 301.8 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.004368, allocations: 75.39 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1333/0.1377, allocations: 210.3 kB / 302.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1378, allocations: 119.9 kB / 302.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.1379, allocations: 30.19 kB / 302.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.491e-05/0.1379, allocations: 29.44 kB / 302.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1379, allocations: 72.83 kB / 302.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.138, allocations: 118.6 kB / 302.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1384, allocations: 387.2 kB / 302.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1384, allocations: 5.125 kB / 302.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1384, allocations: 1.5 kB / 302.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1384, allocations: 0 / 302.9 MB, free: 13.22 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.000651/0.139, allocations: 0.5488 MB / 303.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1391, allocations: 14.08 kB / 303.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1391, allocations: 66.33 kB / 303.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1392, allocations: 40.41 kB / 303.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1394, allocations: 206.8 kB / 303.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1395, allocations: 22.89 kB / 303.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1395, allocations: 38.95 kB / 303.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1399, allocations: 272.5 kB / 304 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1399, allocations: 2.25 kB / 304.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1399, allocations: 11.97 kB / 304.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1399, allocations: 11.66 kB / 304.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.1403, allocations: 265.6 kB / 304.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.1412, allocations: 0.6922 MB / 305 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.1416, allocations: 330.6 kB / 305.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1419, allocations: 176.2 kB / 305.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1419, allocations: 5.969 kB / 305.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.1419, allocations: 40.47 kB / 305.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.1419, allocations: 0 / 305.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.002551/0.1445, allocations: 1.829 MB / 307.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1445, allocations: 61.31 kB / 307.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1446, allocations: 195.6 kB / 307.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1446, allocations: 36.86 kB / 307.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1447, allocations: 148.2 kB / 307.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.1448, allocations: 223.3 kB / 308 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.1449, allocations: 92.48 kB / 308.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.145, allocations: 352 kB / 308.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1452, allocations: 159.5 kB / 308.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1454, allocations: 172.3 kB / 308.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.1458, allocations: 374.6 kB / 309.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1458, allocations: 0 / 309.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005455/0.1464, allocations: 497.6 kB / 309.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1464, allocations: 6.188 kB / 309.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1464, allocations: 0 / 309.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1464, allocations: 2.281 kB / 309.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1467, allocations: 125 kB / 309.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1467, allocations: 4.734 kB / 309.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.1468, allocations: 26.83 kB / 309.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1468, allocations: 15.64 kB / 309.8 MB, free: 9.797 MB / 282.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 9.807e-05/0.1469, allocations: 169.1 kB / 310 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.147, allocations: 34.14 kB / 310 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.147, allocations: 49.77 kB / 310.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.147, allocations: 6.531 kB / 310.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.147, allocations: 1.375 kB / 310.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1471, allocations: 3.141 kB / 310.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1482, allocations: 1.209 MB / 311.3 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1482, allocations: 8.25 kB / 311.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.1485, allocations: 125.7 kB / 311.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1485, allocations: 9.062 kB / 311.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1485, allocations: 18.83 kB / 311.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1486, allocations: 10.81 kB / 311.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1486, allocations: 9.719 kB / 311.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.1494, allocations: 0.8709 MB / 312.3 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.1494, allocations: 31.38 kB / 312.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1494, allocations: 18.05 kB / 312.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1496, allocations: 28.83 kB / 312.4 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.1496, allocations: 59.31 kB / 312.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1497, allocations: 22.09 kB / 312.5 MB, free: 8.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.1497, allocations: 148.8 kB / 312.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1497, allocations: 1.562 kB / 312.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.15, allocations: 94.03 kB / 312.7 MB, free: 8.156 MB / 282.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.0008902/0.1509, allocations: 1.429 MB / 314.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.1514, allocations: 422.4 kB / 314.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1514, allocations: 1.062 kB / 314.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.1517, allocations: 242 kB / 314.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1521, allocations: 86.3 kB / 314.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1553, allocations: 3.612 MB / 318.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.1555, allocations: 187.4 kB / 318.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.1556, allocations: 48.45 kB / 318.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1557, allocations: 118.2 kB / 318.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1557, allocations: 1.5 kB / 318.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1779, allocations: 8.48 MB / 327.3 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.457, allocations: 9.203 kB / 327.4 MB, free: 0.7266 MB / 282.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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: 9.129410242661834]