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.001358/0.001358, allocations: 112.5 kB / 21.94 MB, free: 12 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.001528/0.001528, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.571/1.571, allocations: 207.6 MB / 236 MB, free: 9.984 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.001969/0.001969, allocations: 51.94 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4232, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004658/0.4279, allocations: 2.607 MB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.4288, allocations: 376.8 kB / 400.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.4289, allocations: 12.34 kB / 400.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4292, allocations: 45.48 kB / 400.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.4294, allocations: 101.1 kB / 400.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.4298, allocations: 92.59 kB / 400.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.4303, allocations: 377.3 kB / 401.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.4305, allocations: 89.44 kB / 401.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.4308, allocations: 145.2 kB / 401.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.431, allocations: 170.3 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.4311, allocations: 29.88 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.4312, allocations: 30.31 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.4313, allocations: 65.81 kB / 401.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.4315, allocations: 169.1 kB / 401.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000619/0.4321, allocations: 368.1 kB / 402.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4321, allocations: 0 / 402.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4321, allocations: 0 / 402.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4321, allocations: 5.281 kB / 402.2 MB, free: 6.555 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.001201/0.4333, allocations: 0.5567 MB / 402.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4334, allocations: 18 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.4334, allocations: 37.86 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.4339, allocations: 207.2 kB / 403 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.4339, allocations: 25.27 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.434, allocations: 39.17 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.4346, allocations: 274.6 kB / 403.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4346, allocations: 5.25 kB / 403.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.4347, allocations: 18.34 kB / 403.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4347, allocations: 7.062 kB / 403.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.4354, allocations: 263 kB / 403.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.4368, allocations: 0.7655 MB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.4375, allocations: 325.5 kB / 404.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.4379, allocations: 174 kB / 404.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.438, allocations: 9.906 kB / 404.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.438, allocations: 40.44 kB / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.438, allocations: 0 / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004645/0.4426, allocations: 1.825 MB / 406.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4427, allocations: 62.88 kB / 406.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.4429, allocations: 189.3 kB / 407 MB, free: 3.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.443, allocations: 36.3 kB / 407.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4431, allocations: 156.8 kB / 407.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.4433, allocations: 225.3 kB / 407.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4434, allocations: 92.19 kB / 407.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4435, allocations: 348.7 kB / 407.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.4439, allocations: 162.5 kB / 408 MB, free: 3.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.4443, allocations: 168.4 kB / 408.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.4451, allocations: 376.3 kB / 408.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4451, allocations: 4 kB / 408.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009304/0.446, allocations: 490.5 kB / 409 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.446, allocations: 5.281 kB / 409.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.446, allocations: 7.922 kB / 409.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.446, allocations: 7.281 kB / 409.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.4466, allocations: 118.5 kB / 409.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4466, allocations: 2.531 kB / 409.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.4468, allocations: 30.7 kB / 409.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.4469, allocations: 22.34 kB / 409.2 MB, free: 2.629 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.000161/0.447, allocations: 157.2 kB / 409.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.4471, allocations: 33.05 kB / 409.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.4472, allocations: 51.22 kB / 409.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4472, allocations: 7.047 kB / 409.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.4472, allocations: 0 / 409.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4473, allocations: 3.328 kB / 409.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.4495, allocations: 1.278 MB / 410.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4495, allocations: 4 kB / 410.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.45, allocations: 127.7 kB / 410.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.45, allocations: 11.73 kB / 410.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.4501, allocations: 17.27 kB / 410.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.4501, allocations: 7.484 kB / 410.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.4501, allocations: 9.922 kB / 410.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.4517, allocations: 0.8785 MB / 411.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.4518, allocations: 40.48 kB / 411.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.4519, allocations: 17.34 kB / 411.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.4522, allocations: 29.97 kB / 411.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.4523, allocations: 60.58 kB / 412 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4523, allocations: 21.06 kB / 412 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.4525, allocations: 138.6 kB / 412.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4525, allocations: 0 / 412.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.453, allocations: 95.22 kB / 412.2 MB, free: 0.8711 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.0001696/0.4531, allocations: 116.8 kB / 412.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.4541, allocations: 425.2 kB / 412.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4541, allocations: 0 / 412.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.4547, allocations: 244.5 kB / 413 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.4554, allocations: 75.92 kB / 413.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4575, allocations: 1.059 MB / 414.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.458, allocations: 0.7967 MB / 414.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4582, allocations: 41.14 kB / 414.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4582, allocations: 1.094 kB / 414.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.009346/0.4675, allocations: 4.603 MB / 419.6 MB, free: 12.47 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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.781537949107587]