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.001402/0.001402, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 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.001477/0.001477, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.589/1.589, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.001919/0.001919, allocations: 61.48 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.411, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.005508/0.4166, allocations: 2.398 MB / 400 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.4175, allocations: 377 kB / 400.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.4177, allocations: 8.562 kB / 400.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.4179, allocations: 46.12 kB / 400.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.4182, allocations: 101 kB / 400.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.4187, allocations: 101.9 kB / 400.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.4193, allocations: 373.7 kB / 401 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.4195, allocations: 77.14 kB / 401 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.4198, allocations: 144.6 kB / 401.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.4201, allocations: 146.2 kB / 401.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.4202, allocations: 30.31 kB / 401.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.4203, allocations: 30.25 kB / 401.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4204, allocations: 69.72 kB / 401.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4206, allocations: 141.6 kB / 401.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.4214, allocations: 375.6 kB / 402 MB, free: 6.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4214, allocations: 4.656 kB / 402 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4214, allocations: 0 / 402 MB, free: 6.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4214, allocations: 1.156 kB / 402 MB, free: 6.727 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.001561/0.4229, allocations: 0.5606 MB / 402.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.423, allocations: 14.42 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.4231, allocations: 37.92 kB / 402.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.4237, allocations: 210.7 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.4237, allocations: 20.69 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.4238, allocations: 31.44 kB / 402.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.4247, allocations: 277.3 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.4247, allocations: 9.281 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.4248, allocations: 14.41 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.4248, allocations: 10.52 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009326/0.4257, allocations: 259.8 kB / 403.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.4273, allocations: 0.6503 MB / 404 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.4282, allocations: 333.2 kB / 404.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.4287, allocations: 174.2 kB / 404.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.4288, allocations: 5.125 kB / 404.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4288, allocations: 37.69 kB / 404.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.4288, allocations: 1.281 kB / 404.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005326/0.4341, allocations: 1.824 MB / 406.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4342, allocations: 57.56 kB / 406.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.4344, allocations: 184.6 kB / 406.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4344, allocations: 36.39 kB / 406.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.4345, allocations: 148.7 kB / 406.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.4347, allocations: 237.3 kB / 407.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.4348, allocations: 91.31 kB / 407.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.435, allocations: 345.3 kB / 407.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.4353, allocations: 162.3 kB / 407.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.4357, allocations: 172.9 kB / 407.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.4364, allocations: 379.5 kB / 408.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4364, allocations: 1.719 kB / 408.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009343/0.4374, allocations: 489.4 kB / 408.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4374, allocations: 6.016 kB / 408.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4374, allocations: 0 / 408.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.4374, allocations: 2.938 kB / 408.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.4379, allocations: 125.6 kB / 408.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.438, allocations: 7.578 kB / 408.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4382, allocations: 26.8 kB / 408.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.4382, allocations: 16.41 kB / 408.8 MB, free: 2.871 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.0001699/0.4384, allocations: 163.6 kB / 409 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.4385, allocations: 32.12 kB / 409 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.4386, allocations: 46.53 kB / 409.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4386, allocations: 10.47 kB / 409.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.4386, allocations: 0 / 409.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4386, allocations: 3.328 kB / 409.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.441, allocations: 1.157 MB / 410.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.441, allocations: 4.344 kB / 410.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.4415, allocations: 123.9 kB / 410.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.4416, allocations: 8.016 kB / 410.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.4416, allocations: 17.94 kB / 410.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/0.4416, allocations: 11.61 kB / 410.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.4416, allocations: 9.125 kB / 410.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4432, allocations: 0.8824 MB / 411.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.4432, allocations: 34.88 kB / 411.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.4433, allocations: 16.91 kB / 411.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4436, allocations: 34.39 kB / 411.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4437, allocations: 58.19 kB / 411.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.4437, allocations: 21.36 kB / 411.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4439, allocations: 138.9 kB / 411.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4439, allocations: 0 / 411.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.4443, allocations: 94.31 kB / 411.7 MB, free: 1.191 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.000177/0.4445, allocations: 113.7 kB / 411.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.4456, allocations: 428.7 kB / 412.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4456, allocations: 1.75 kB / 412.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.446, allocations: 239.4 kB / 412.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.4467, allocations: 89.58 kB / 412.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.4485, allocations: 1.046 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4487, allocations: 190.3 kB / 413.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4489, allocations: 40.8 kB / 413.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4489, allocations: 0 / 413.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01062/0.4595, allocations: 4.715 MB / 418.5 MB, free: 13.43 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.880526238586754]