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.00189/0.00189, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002292/0.002292, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.531/1.531, allocations: 230.4 MB / 254 MB, free: 15.02 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.001883/0.001883, allocations: 67.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1244, allocations: 53.38 MB / 426.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004126/0.1285, allocations: 2.68 MB / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1299, allocations: 0.7365 MB / 429.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1301, allocations: 7.938 kB / 429.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1303, allocations: 51.45 kB / 429.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1306, allocations: 107.1 kB / 429.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1309, allocations: 87.83 kB / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.1314, allocations: 394.3 kB / 430.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1316, allocations: 83.05 kB / 430.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1318, allocations: 147.5 kB / 430.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.132, allocations: 175.2 kB / 430.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.1321, allocations: 32 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.1321, allocations: 28 kB / 430.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2284/0.3606, allocations: 72.77 kB / 430.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3609, allocations: 170.6 kB / 431.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.3614, allocations: 381.1 kB / 431.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3615, allocations: 0 / 431.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3615, allocations: 2 kB / 431.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3615, allocations: 0.9062 kB / 431.5 MB, free: 7.879 MB / 350.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.0009589/0.3624, allocations: 0.6323 MB / 432.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3625, allocations: 11.25 kB / 432.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.3625, allocations: 63.45 kB / 432.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.3626, allocations: 42.42 kB / 432.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.3629, allocations: 272.5 kB / 432.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.363, allocations: 22.19 kB / 432.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.363, allocations: 34.08 kB / 432.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.3635, allocations: 263.9 kB / 432.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3635, allocations: 0.75 kB / 432.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3635, allocations: 13 kB / 432.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3635, allocations: 7.312 kB / 432.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.3639, allocations: 234.2 kB / 433 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.365, allocations: 0.7916 MB / 433.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.3654, allocations: 317.4 kB / 434.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.3657, allocations: 163.4 kB / 434.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3657, allocations: 5.438 kB / 434.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3657, allocations: 44.92 kB / 434.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.533e-06/0.3657, allocations: 0 / 434.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003559/0.3693, allocations: 1.905 MB / 436.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3693, allocations: 63.56 kB / 436.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3695, allocations: 212.9 kB / 436.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3695, allocations: 34.58 kB / 436.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.3696, allocations: 151.6 kB / 436.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3697, allocations: 240.4 kB / 436.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3698, allocations: 91.7 kB / 437 MB, free: 5.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.3699, allocations: 345.3 kB / 437.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3701, allocations: 143.7 kB / 437.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3704, allocations: 155.4 kB / 437.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.3709, allocations: 354.8 kB / 438 MB, free: 5.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3709, allocations: 0.5 kB / 438 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006328/0.3715, allocations: 463.2 kB / 438.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3715, allocations: 5.219 kB / 438.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3715, allocations: 6.016 kB / 438.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3715, allocations: 3.844 kB / 438.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.372, allocations: 118.2 kB / 438.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.372, allocations: 6.031 kB / 438.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3722, allocations: 15.84 kB / 438.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3722, allocations: 16.14 kB / 438.6 MB, free: 4.789 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.0001268/0.3723, allocations: 164.8 kB / 438.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.3724, allocations: 39.03 kB / 438.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3725, allocations: 50.28 kB / 438.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.3725, allocations: 7.438 kB / 438.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3725, allocations: 3.938 kB / 438.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3725, allocations: 4.469 kB / 438.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3741, allocations: 1.295 MB / 440.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3741, allocations: 4.188 kB / 440.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.3746, allocations: 117.2 kB / 440.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3746, allocations: 7.094 kB / 440.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3746, allocations: 18.95 kB / 440.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.3746, allocations: 11.78 kB / 440.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3746, allocations: 4.562 kB / 440.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3756, allocations: 0.8442 MB / 441.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3757, allocations: 117.2 kB / 441.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.3757, allocations: 17.59 kB / 441.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.376, allocations: 19.98 kB / 441.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.3761, allocations: 50.42 kB / 441.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3761, allocations: 26.05 kB / 441.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3762, allocations: 150 kB / 441.6 MB, free: 3 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 441.6 MB, free: 3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000397/0.3766, allocations: 96.84 kB / 441.7 MB, free: 2.984 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.00109/0.3777, allocations: 1.397 MB / 443.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.3783, allocations: 386.3 kB / 443.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3783, allocations: 4.25 kB / 443.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.3786, allocations: 223.2 kB / 443.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.3793, allocations: 98.2 kB / 443.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.3835, allocations: 3.669 MB / 447.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.384, allocations: 0.802 MB / 448.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.3842, allocations: 49.39 kB / 448.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3844, allocations: 123.7 kB / 448.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3844, allocations: 4 kB / 448.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.4195, allocations: 7.895 MB / 456.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.866, allocations: 13.98 kB / 456.3 MB, free: 12.72 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.506641032989137]