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.001696/0.001696, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.0018/0.0018, allocations: 215 kB / 24.47 MB, free: 3.777 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.484/1.484, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.002083/0.002083, allocations: 53.8 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.269, allocations: 49.16 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003102/0.2721, allocations: 2.406 MB / 398.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.2727, allocations: 367.7 kB / 399.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2729, allocations: 8.938 kB / 399.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.273, allocations: 50.62 kB / 399.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.2732, allocations: 96.11 kB / 399.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.2735, allocations: 98.22 kB / 399.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.2738, allocations: 373.9 kB / 399.7 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.274, allocations: 77.61 kB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2742, allocations: 146.3 kB / 399.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2744, allocations: 145.6 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.2744, allocations: 29.53 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.2745, allocations: 30.41 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.2746, allocations: 68.98 kB / 400.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2747, allocations: 143 kB / 400.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.2751, allocations: 379 kB / 400.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2751, allocations: 0.6562 kB / 400.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2751, allocations: 4 kB / 400.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2751, allocations: 0 / 400.7 MB, free: 6.215 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.0009774/0.2761, allocations: 0.5579 MB / 401.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2761, allocations: 13.3 kB / 401.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.2762, allocations: 62.77 kB / 401.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.2762, allocations: 42.7 kB / 401.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.2766, allocations: 211 kB / 401.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.2766, allocations: 24.5 kB / 401.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.2767, allocations: 31.48 kB / 401.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.2772, allocations: 275.9 kB / 401.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2772, allocations: 14 kB / 401.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2773, allocations: 14.94 kB / 401.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2773, allocations: 6.781 kB / 402 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.2778, allocations: 259.9 kB / 402.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2789, allocations: 0.6964 MB / 402.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.2795, allocations: 328.8 kB / 403.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.2798, allocations: 174.5 kB / 403.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.2798, allocations: 4.375 kB / 403.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2799, allocations: 38.94 kB / 403.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.2799, allocations: 0 / 403.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.003937/0.2838, allocations: 1.828 MB / 405.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2838, allocations: 58.84 kB / 405.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.284, allocations: 195.6 kB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.284, allocations: 35.83 kB / 405.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.2841, allocations: 148 kB / 405.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2842, allocations: 237.9 kB / 405.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2843, allocations: 91.77 kB / 406 MB, free: 3.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2844, allocations: 344.9 kB / 406.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.2847, allocations: 166.5 kB / 406.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.285, allocations: 169.2 kB / 406.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.2857, allocations: 379.8 kB / 407.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2857, allocations: 0.75 kB / 407.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007927/0.2865, allocations: 489.7 kB / 407.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2865, allocations: 5.625 kB / 407.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2865, allocations: 0 / 407.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2865, allocations: 2.75 kB / 407.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.287, allocations: 127.8 kB / 407.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.287, allocations: 6.625 kB / 407.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2872, allocations: 27.17 kB / 407.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.2873, allocations: 16.41 kB / 407.7 MB, free: 2.262 MB / 318.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.000137/0.2874, allocations: 159.1 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.2875, allocations: 35.42 kB / 407.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2876, allocations: 51.17 kB / 408 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2876, allocations: 10.44 kB / 408 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.2876, allocations: 4.75 kB / 408 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2876, allocations: 8.047 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.2896, allocations: 1.206 MB / 409.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2896, allocations: 4.219 kB / 409.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.2901, allocations: 126.9 kB / 409.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.2901, allocations: 7.719 kB / 409.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.2901, allocations: 17.3 kB / 409.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.2902, allocations: 9.109 kB / 409.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.2902, allocations: 9.562 kB / 409.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2915, allocations: 0.8812 MB / 410.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.2915, allocations: 36.17 kB / 410.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.2916, allocations: 17.06 kB / 410.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.2919, allocations: 30.53 kB / 410.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.292, allocations: 61.94 kB / 410.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.292, allocations: 21.66 kB / 410.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2921, allocations: 138.8 kB / 410.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2921, allocations: 0 / 410.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004243/0.2926, allocations: 95.22 kB / 410.6 MB, free: 0.5312 MB / 318.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.001588/0.2941, allocations: 1.44 MB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.295, allocations: 424.8 kB / 412.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.295, allocations: 1.156 kB / 412.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.2955, allocations: 235.8 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.2962, allocations: 88.42 kB / 412.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.3022, allocations: 3.685 MB / 416.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3024, allocations: 188.2 kB / 416.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3026, allocations: 45.39 kB / 416.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.3028, allocations: 121.5 kB / 416.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3028, allocations: 0 / 416.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.3413, allocations: 8.354 MB / 425.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 4 kB / 425.2 MB, free: 5.52 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.357724049128592]