Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003945/0.3204, allocations: 2.701 MB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3217, allocations: 0.7365 MB / 434.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3219, allocations: 7.938 kB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.3221, allocations: 55.5 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.3223, allocations: 103.1 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.3226, allocations: 95.81 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.323, allocations: 386.3 kB / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.3232, allocations: 83.56 kB / 435.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3234, allocations: 155.4 kB / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3236, allocations: 163.3 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.3237, allocations: 32 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.3238, allocations: 32 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3238, allocations: 71.75 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.324, allocations: 175.1 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.3246, allocations: 386.8 kB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3246, allocations: 0 / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3246, allocations: 0 / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3246, allocations: 3.938 kB / 436.3 MB, free: 1.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001067/0.3257, allocations: 0.552 MB / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3257, allocations: 8.031 kB / 436.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/0.3258, allocations: 62.67 kB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.3258, allocations: 48.62 kB / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.3263, allocations: 218.9 kB / 437.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.3263, allocations: 28.78 kB / 437.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.3264, allocations: 27.95 kB / 437.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3268, allocations: 258.1 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3268, allocations: 4 kB / 437.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3269, allocations: 12 kB / 437.5 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3269, allocations: 11.94 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.3273, allocations: 230.5 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.3287, allocations: 0.7641 MB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.3292, allocations: 317.9 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.3296, allocations: 158.1 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3296, allocations: 12.38 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3296, allocations: 34.94 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.3296, allocations: 0 / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003804/0.3334, allocations: 1.772 MB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.3335, allocations: 56.06 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3337, allocations: 207.3 kB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3338, allocations: 37.7 kB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3339, allocations: 153.1 kB / 441.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.3341, allocations: 238 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3342, allocations: 90.34 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3344, allocations: 346.8 kB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3346, allocations: 145.2 kB / 442.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3349, allocations: 153.8 kB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.3354, allocations: 357.9 kB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3354, allocations: 0 / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007002/0.3361, allocations: 457.1 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3361, allocations: 4 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3361, allocations: 4 kB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3362, allocations: 7.938 kB / 443 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.3366, allocations: 123.8 kB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3366, allocations: 4 kB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3368, allocations: 12 kB / 443.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.3368, allocations: 19.98 kB / 443.2 MB, free: 10.42 MB / 350.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 (71): * Single equations (assignments): 71 * 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.0001802/0.337, allocations: 161.7 kB / 443.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3371, allocations: 35.77 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.3373, allocations: 63.2 kB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.3373, allocations: 4 kB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3373, allocations: 0 / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3373, allocations: 4 kB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.3393, allocations: 1.262 MB / 444.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3393, allocations: 8 kB / 444.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.3398, allocations: 119.8 kB / 444.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.3398, allocations: 8 kB / 444.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.3398, allocations: 16 kB / 444.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.3398, allocations: 8 kB / 444.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3399, allocations: 7.938 kB / 444.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3411, allocations: 0.8497 MB / 445.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.3412, allocations: 39.8 kB / 445.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.3412, allocations: 16 kB / 445.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3415, allocations: 16 kB / 445.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.3416, allocations: 52.23 kB / 445.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3416, allocations: 27.98 kB / 445.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3418, allocations: 152.5 kB / 446 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 446 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.3422, allocations: 96 kB / 446.1 MB, free: 7.297 MB / 350.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 (65): * Single equations (assignments): 65 * 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.001711/0.3439, allocations: 1.397 MB / 447.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006734/0.3446, allocations: 391.8 kB / 447.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3446, allocations: 0 / 447.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.345, allocations: 226.2 kB / 448.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.3457, allocations: 103.2 kB / 448.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.3513, allocations: 3.668 MB / 451.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3518, allocations: 0.7972 MB / 452.7 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.352, allocations: 47.33 kB / 452.7 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3522, allocations: 127.4 kB / 452.8 MB, free: 260 kB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3522, allocations: 4 kB / 452.8 MB, free: 256 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.3953, allocations: 8.321 MB / 461.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 19.34 kB / 461.2 MB, free: 8.066 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable elastoGap1.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! Error: Could not read variable springDamper1.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv. Warning: Get data of variable springDamper1.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.236447054001474]