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.001441/0.001441, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.0018/0.0018, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.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.002049/0.002049, allocations: 63.89 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00408/0.3083, allocations: 2.468 MB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3096, allocations: 0.7014 MB / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3097, allocations: 7.938 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.3099, allocations: 55.5 kB / 434.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3101, allocations: 99.06 kB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3104, allocations: 95.81 kB / 435 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.3108, allocations: 390.3 kB / 435.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.3111, allocations: 83.56 kB / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3112, allocations: 143.5 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3115, allocations: 151.2 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.3115, allocations: 32 kB / 435.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.3116, allocations: 32 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.3116, allocations: 71.75 kB / 435.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3118, allocations: 139.4 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.3122, allocations: 388.6 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3122, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3122, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3122, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.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.001065/0.3133, allocations: 0.5597 MB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3133, allocations: 15.98 kB / 437 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.3134, allocations: 36.7 kB / 437.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3138, allocations: 222.9 kB / 437.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3138, allocations: 25.03 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3139, allocations: 35.89 kB / 437.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.3144, allocations: 258.1 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3144, allocations: 0 / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3144, allocations: 16 kB / 437.6 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3144, allocations: 4 kB / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.3148, allocations: 234.4 kB / 437.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3161, allocations: 0.6516 MB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.3166, allocations: 314.1 kB / 438.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3169, allocations: 162.2 kB / 438.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3169, allocations: 8.359 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.317, allocations: 42.88 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.317, allocations: 0 / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003813/0.3208, allocations: 1.76 MB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.3208, allocations: 64 kB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.321, allocations: 195 kB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.3211, allocations: 41.7 kB / 441.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3212, allocations: 153.1 kB / 441.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3214, allocations: 234 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3215, allocations: 94.34 kB / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3217, allocations: 346.8 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.3219, allocations: 141.2 kB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.3222, allocations: 149.9 kB / 442.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.3228, allocations: 357.9 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3228, allocations: 0 / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007202/0.3235, allocations: 465.1 kB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3235, allocations: 11.94 kB / 443 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3235, allocations: 4 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3235, allocations: 4 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.324, allocations: 115.8 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.324, allocations: 7.938 kB / 443.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3242, allocations: 15.98 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3242, allocations: 16 kB / 443.1 MB, free: 10.78 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.0001912/0.3244, allocations: 169.7 kB / 443.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.3245, allocations: 35.77 kB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.3246, allocations: 47.33 kB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3246, allocations: 12 kB / 443.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3246, allocations: 7.875 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3246, allocations: 3.984 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3264, allocations: 1.137 MB / 444.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3264, allocations: 7.938 kB / 444.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.3269, allocations: 115.8 kB / 444.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.3269, allocations: 8 kB / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.3269, allocations: 19.98 kB / 444.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.3269, allocations: 11.94 kB / 444.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3269, allocations: 4 kB / 444.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3281, allocations: 0.8458 MB / 445.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.3281, allocations: 39.7 kB / 445.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.3282, allocations: 20.03 kB / 445.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3284, allocations: 16 kB / 445.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.3285, allocations: 56.23 kB / 445.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3285, allocations: 24 kB / 445.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3287, allocations: 136.6 kB / 445.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3287, allocations: 0 / 445.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.329, allocations: 96 kB / 445.9 MB, free: 7.801 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.0001451/0.3292, allocations: 127.1 kB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.3299, allocations: 383.7 kB / 446.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3299, allocations: 0 / 446.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.3302, allocations: 223.3 kB / 446.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.3309, allocations: 111.1 kB / 446.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3326, allocations: 1.031 MB / 447.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3328, allocations: 195.3 kB / 448 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.333, allocations: 43.3 kB / 448 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3331, allocations: 35.44 kB / 448 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3331, allocations: 0 / 448 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.009606/0.3427, allocations: 4.807 MB / 452.8 MB, free: 0.8359 MB / 350.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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.592214090749621]