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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.518/1.518, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 57.33 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004263/0.3228, allocations: 2.603 MB / 399.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.3235, allocations: 378.8 kB / 399.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3237, allocations: 8.344 kB / 399.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3238, allocations: 50.48 kB / 399.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.324, allocations: 97.25 kB / 399.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.3244, allocations: 99.81 kB / 400 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.3248, allocations: 369.6 kB / 400.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.325, allocations: 90.58 kB / 400.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3252, allocations: 144.9 kB / 400.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.3254, allocations: 162.8 kB / 400.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.3255, allocations: 29.09 kB / 400.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.3256, allocations: 30.47 kB / 400.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.3256, allocations: 77.08 kB / 400.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3258, allocations: 169.6 kB / 401.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.3263, allocations: 372.3 kB / 401.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3263, allocations: 0 / 401.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3263, allocations: 1.062 kB / 401.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3263, allocations: 0 / 401.4 MB, free: 6.562 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.001086/0.3274, allocations: 0.5582 MB / 402 MB, free: 6.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3274, allocations: 12.55 kB / 402 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.3275, allocations: 38.55 kB / 402 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3279, allocations: 215.1 kB / 402.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.3279, allocations: 20.75 kB / 402.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.328, allocations: 31.23 kB / 402.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.3285, allocations: 284.2 kB / 402.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3286, allocations: 1.828 kB / 402.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3286, allocations: 14.28 kB / 402.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3286, allocations: 7.906 kB / 402.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.3292, allocations: 266.4 kB / 402.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3304, allocations: 0.7549 MB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.331, allocations: 338.5 kB / 404 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.3314, allocations: 181 kB / 404.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3314, allocations: 7 kB / 404.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3314, allocations: 35.75 kB / 404.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.302e-06/0.3314, allocations: 1.312 kB / 404.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004087/0.3355, allocations: 1.82 MB / 406 MB, free: 4.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3356, allocations: 57.56 kB / 406 MB, free: 4.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3357, allocations: 195.5 kB / 406.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3358, allocations: 35.08 kB / 406.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.3358, allocations: 152.6 kB / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.336, allocations: 224.8 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3361, allocations: 91.5 kB / 406.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.3362, allocations: 350 kB / 407.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.3365, allocations: 162.2 kB / 407.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.3368, allocations: 178 kB / 407.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.3375, allocations: 382.5 kB / 407.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3375, allocations: 0 / 407.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000809/0.3383, allocations: 486.6 kB / 408.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3383, allocations: 5.406 kB / 408.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3383, allocations: 0.5625 kB / 408.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3383, allocations: 7.125 kB / 408.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.3388, allocations: 126.7 kB / 408.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3388, allocations: 4.016 kB / 408.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.339, allocations: 21.56 kB / 408.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3391, allocations: 19.75 kB / 408.4 MB, free: 2.645 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.0001463/0.3392, allocations: 163.5 kB / 408.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.3393, allocations: 32.78 kB / 408.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.3394, allocations: 50.39 kB / 408.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3394, allocations: 5.688 kB / 408.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.3394, allocations: 2.719 kB / 408.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3394, allocations: 2.812 kB / 408.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.3414, allocations: 1.277 MB / 410 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3414, allocations: 5.141 kB / 410 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.3419, allocations: 123.8 kB / 410.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.3419, allocations: 10.94 kB / 410.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3419, allocations: 18.61 kB / 410.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.342, allocations: 12.33 kB / 410.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.342, allocations: 8 kB / 410.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3433, allocations: 0.8755 MB / 411 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3433, allocations: 36.33 kB / 411 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3434, allocations: 16.88 kB / 411.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3436, allocations: 34.11 kB / 411.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3437, allocations: 55.59 kB / 411.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.3438, allocations: 22.05 kB / 411.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3439, allocations: 138.4 kB / 411.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3439, allocations: 4 kB / 411.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.3443, allocations: 99.28 kB / 411.4 MB, free: 0.8828 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.0001218/0.3444, allocations: 116.8 kB / 411.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008598/0.3453, allocations: 428.5 kB / 411.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3453, allocations: 1.156 kB / 411.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.3457, allocations: 238.7 kB / 412.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.3463, allocations: 84.95 kB / 412.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3483, allocations: 1.018 MB / 413.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.3488, allocations: 0.7938 MB / 414.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.349, allocations: 44.39 kB / 414.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3491, allocations: 34.38 kB / 414.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3491, allocations: 0 / 414.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Templates: time 0.01104/0.3602, allocations: 4.509 MB / 418.7 MB, free: 12.71 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.907002508640289]