Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001823/0.001823, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 61.97 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004195/0.1089, allocations: 2.478 MB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1104, allocations: 0.6936 MB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.1107, allocations: 11.94 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1109, allocations: 47.45 kB / 382.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1112, allocations: 111 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1117, allocations: 95.88 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1121, allocations: 382.3 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1123, allocations: 79.58 kB / 382.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.1125, allocations: 163.3 kB / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1128, allocations: 147.3 kB / 383.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1128, allocations: 32 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.664e-05/0.1129, allocations: 28 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.113, allocations: 67.77 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1132, allocations: 147.3 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.1136, allocations: 382.5 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1136, allocations: 4 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1136, allocations: 0 / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1136, allocations: 0 / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001112/0.1147, allocations: 0.5519 MB / 384.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1148, allocations: 15.98 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.1149, allocations: 44.69 kB / 384.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1153, allocations: 214.9 kB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1153, allocations: 21.03 kB / 384.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.1154, allocations: 39.83 kB / 384.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.1158, allocations: 258.1 kB / 384.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1159, allocations: 4 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1159, allocations: 8 kB / 384.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1159, allocations: 8 kB / 384.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.1163, allocations: 234.5 kB / 385.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.1175, allocations: 0.6515 MB / 385.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.118, allocations: 315.3 kB / 386.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1183, allocations: 158.2 kB / 386.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1183, allocations: 8.375 kB / 386.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1183, allocations: 34.92 kB / 386.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.1183, allocations: 4 kB / 386.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003835/0.1222, allocations: 1.772 MB / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1222, allocations: 60 kB / 388.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1225, allocations: 199.1 kB / 388.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.1225, allocations: 41.64 kB / 388.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1226, allocations: 149.1 kB / 388.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.1228, allocations: 233.9 kB / 388.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1229, allocations: 94.33 kB / 388.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1231, allocations: 346.8 kB / 389.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1234, allocations: 141.3 kB / 389.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1236, allocations: 153.8 kB / 389.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.1242, allocations: 354 kB / 389.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1242, allocations: 4 kB / 389.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007425/0.125, allocations: 465 kB / 390.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.125, allocations: 4 kB / 390.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.125, allocations: 4 kB / 390.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.125, allocations: 0 / 390.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.1255, allocations: 115.8 kB / 390.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1255, allocations: 7.938 kB / 390.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1257, allocations: 19.98 kB / 390.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1257, allocations: 20 kB / 390.4 MB, free: 3.715 MB / 350.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 (71): * Single equations (assignments): 71 * 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.0001899/0.1259, allocations: 157.8 kB / 390.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.1259, allocations: 39.77 kB / 390.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.1261, allocations: 51.33 kB / 390.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1261, allocations: 4 kB / 390.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1261, allocations: 7.938 kB / 390.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1261, allocations: 3.984 kB / 390.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.1279, allocations: 1.131 MB / 391.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.1279, allocations: 11.92 kB / 391.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.1284, allocations: 119.8 kB / 391.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.1284, allocations: 8 kB / 391.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.1285, allocations: 24.55 kB / 392 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.1285, allocations: 11.94 kB / 392 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1285, allocations: 8 kB / 392 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1297, allocations: 0.8383 MB / 392.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1297, allocations: 39.7 kB / 392.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.1298, allocations: 16 kB / 392.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.13, allocations: 20.03 kB / 392.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.1301, allocations: 56.3 kB / 392.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.1301, allocations: 20 kB / 393 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1303, allocations: 148.6 kB / 393.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1303, allocations: 0 / 393.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1307, allocations: 96 kB / 393.2 MB, free: 0.7344 MB / 350.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 (65): * Single equations (assignments): 65 * 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.00015/0.1308, allocations: 127 kB / 393.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.1315, allocations: 384.2 kB / 393.7 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1315, allocations: 0 / 393.7 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.1319, allocations: 230.9 kB / 393.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.1325, allocations: 95.09 kB / 394 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1342, allocations: 1.025 MB / 395 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1344, allocations: 191.3 kB / 395.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.1346, allocations: 51.28 kB / 395.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1347, allocations: 36.5 kB / 395.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1347, allocations: 0 / 395.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.009565/0.1443, allocations: 4.436 MB / 399.8 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.316343779908493]