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.00174/0.00174, allocations: 103.6 kB / 21.18 MB, free: 332 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.001864/0.001864, allocations: 210.7 kB / 24.47 MB, free: 3.547 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.507/1.507, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [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.001855/0.001855, allocations: 58.86 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2775, allocations: 49.15 MB / 396.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003175/0.2806, allocations: 2.394 MB / 399.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006294/0.2813, allocations: 372.1 kB / 399.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2814, allocations: 8.688 kB / 399.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.2815, allocations: 46.17 kB / 399.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2817, allocations: 100.3 kB / 399.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.282, allocations: 94.53 kB / 399.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2823, allocations: 377.9 kB / 400.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2825, allocations: 77.11 kB / 400.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2826, allocations: 145.4 kB / 400.4 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2828, allocations: 154.1 kB / 400.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.2828, allocations: 29.97 kB / 400.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.2829, allocations: 30.31 kB / 400.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.2829, allocations: 69.64 kB / 400.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2831, allocations: 138.8 kB / 400.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2834, allocations: 370.7 kB / 401.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2834, allocations: 4.875 kB / 401.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2834, allocations: 0.8906 kB / 401.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2834, allocations: 0 / 401.2 MB, free: 6.934 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.0009289/0.2844, allocations: 0.5613 MB / 401.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2844, allocations: 14.22 kB / 401.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.2845, allocations: 38.05 kB / 401.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.2847, allocations: 215.6 kB / 402 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2848, allocations: 20.25 kB / 402.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2848, allocations: 34.73 kB / 402.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.2853, allocations: 273.7 kB / 402.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2853, allocations: 5.375 kB / 402.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.2854, allocations: 14.09 kB / 402.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2854, allocations: 7.5 kB / 402.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.2859, allocations: 266.8 kB / 402.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2869, allocations: 0.6554 MB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.2874, allocations: 328.4 kB / 403.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.2877, allocations: 177.1 kB / 403.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.2878, allocations: 10.69 kB / 403.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2878, allocations: 36.88 kB / 403.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.2878, allocations: 0 / 403.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.003731/0.2915, allocations: 1.822 MB / 405.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2916, allocations: 57.56 kB / 405.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2917, allocations: 192.3 kB / 405.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.2917, allocations: 36.45 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2918, allocations: 144.8 kB / 406.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2919, allocations: 232.8 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.292, allocations: 87.98 kB / 406.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.2921, allocations: 349.3 kB / 406.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.2924, allocations: 162.9 kB / 406.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.2927, allocations: 172.3 kB / 407.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.2933, allocations: 375.7 kB / 407.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2933, allocations: 1.531 kB / 407.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007609/0.294, allocations: 490 kB / 407.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2941, allocations: 4.062 kB / 407.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2941, allocations: 2.062 kB / 407.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2941, allocations: 5.562 kB / 407.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.2945, allocations: 119 kB / 408 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2945, allocations: 2.969 kB / 408 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.2947, allocations: 26.44 kB / 408.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2947, allocations: 20.72 kB / 408.1 MB, free: 3.078 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.0001259/0.2949, allocations: 166 kB / 408.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.2949, allocations: 37.61 kB / 408.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.295, allocations: 45.44 kB / 408.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.295, allocations: 7.094 kB / 408.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.295, allocations: 0 / 408.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.2951, allocations: 3.375 kB / 408.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.2967, allocations: 1.161 MB / 409.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2967, allocations: 4.625 kB / 409.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.2972, allocations: 127.7 kB / 409.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.2972, allocations: 7.062 kB / 409.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.2972, allocations: 18.28 kB / 409.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.2972, allocations: 11.95 kB / 409.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2972, allocations: 8.406 kB / 409.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.2984, allocations: 0.8823 MB / 410.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.2985, allocations: 35.22 kB / 410.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2985, allocations: 17.97 kB / 410.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.2988, allocations: 39.28 kB / 410.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.2989, allocations: 52.98 kB / 410.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2989, allocations: 20.77 kB / 410.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.249e-05/0.299, allocations: 139.9 kB / 410.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.299, allocations: 0 / 410.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.2994, allocations: 94.97 kB / 410.9 MB, free: 1.387 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.0001104/0.2995, allocations: 117 kB / 411.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007668/0.3002, allocations: 424.5 kB / 411.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3002, allocations: 0 / 411.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.3006, allocations: 241 kB / 411.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3012, allocations: 83.11 kB / 411.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3026, allocations: 1.019 MB / 412.8 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.3028, allocations: 188.2 kB / 413 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.3029, allocations: 52.47 kB / 413 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.303, allocations: 34.47 kB / 413.1 MB, free: 124 kB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.303, allocations: 0 / 413.1 MB, free: 124 kB / 318.1 MB Notification: Performance of Templates: time 0.00989/0.3129, allocations: 4.523 MB / 417.6 MB, free: 13.77 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815234987065196]