Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002321/0.002321, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001937/0.001937, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.413e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00662/0.006655, allocations: 2.639 MB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.009013, allocations: 0.7053 MB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.009211, allocations: 11.94 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.009477, allocations: 51.5 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.009894, allocations: 110.9 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.01038, allocations: 95.73 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.01115, allocations: 406.1 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.01145, allocations: 79.62 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.01195, allocations: 223.5 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.01233, allocations: 123.6 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.204e-05/0.01242, allocations: 32 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.01253, allocations: 28 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.01267, allocations: 79.72 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.01293, allocations: 115.7 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.01372, allocations: 398.6 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01372, allocations: 0 / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01372, allocations: 0 / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.01374, allocations: 4 kB / 277.4 MB, free: 12.75 MB / 266.7 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.001968/0.01571, allocations: 0.6749 MB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.01576, allocations: 8.031 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.01597, allocations: 64.7 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.01658, allocations: 213.1 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.01663, allocations: 24.97 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.01672, allocations: 36.33 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000807/0.01753, allocations: 254.4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.01756, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.01762, allocations: 12 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.01764, allocations: 8 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.01845, allocations: 218.5 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.02101, allocations: 0.7601 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.02206, allocations: 324.1 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.02264, allocations: 168.9 kB / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.0227, allocations: 8.375 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.265e-05/0.02276, allocations: 45.75 kB / 280.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.955e-06/0.02277, allocations: 0 / 280.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.006601/0.02937, allocations: 1.726 MB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.02945, allocations: 60.06 kB / 281.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.02993, allocations: 269.6 kB / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.03, allocations: 41.7 kB / 282.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.03022, allocations: 199.8 kB / 282.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.03062, allocations: 246 kB / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.03093, allocations: 116 kB / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005487/0.03148, allocations: 0.5313 MB / 283.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.03201, allocations: 149.2 kB / 283.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.0325, allocations: 145.8 kB / 283.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.03365, allocations: 388.7 kB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.03366, allocations: 0 / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001478/0.03513, allocations: 485.1 kB / 284.5 MB, free: 5.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.03516, allocations: 4 kB / 284.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.03517, allocations: 0 / 284.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.0352, allocations: 4 kB / 284.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.03615, allocations: 123.8 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.03616, allocations: 0 / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.03649, allocations: 12 kB / 284.6 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.03656, allocations: 19.94 kB / 284.6 MB, free: 5.215 MB / 266.7 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.0003658/0.03692, allocations: 216.4 kB / 284.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.03717, allocations: 59.81 kB / 284.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.03738, allocations: 43.34 kB / 284.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.03739, allocations: 8 kB / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.0374, allocations: 0 / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.03741, allocations: 3.984 kB / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.04152, allocations: 1.332 MB / 286.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.04154, allocations: 4 kB / 286.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/0.04251, allocations: 123.8 kB / 286.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.04253, allocations: 4 kB / 286.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.04259, allocations: 20.5 kB / 286.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.04261, allocations: 8 kB / 286.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.04263, allocations: 11.94 kB / 286.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.04503, allocations: 0.9588 MB / 287.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.04514, allocations: 35.75 kB / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.04523, allocations: 19.94 kB / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.04567, allocations: 16 kB / 287.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.04584, allocations: 56.3 kB / 287.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.0459, allocations: 23.98 kB / 287.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.0462, allocations: 196.5 kB / 287.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.0462, allocations: 0 / 287.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007818/0.04698, allocations: 99.94 kB / 287.8 MB, free: 1.77 MB / 266.7 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.0002444/0.04723, allocations: 123.1 kB / 288 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.04867, allocations: 433.1 kB / 288.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.04868, allocations: 0 / 288.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.04945, allocations: 251.8 kB / 288.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.05069, allocations: 108.5 kB / 288.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.05369, allocations: 1.005 MB / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.05405, allocations: 191.3 kB / 289.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.05439, allocations: 51.28 kB / 290 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.05458, allocations: 36.5 kB / 290 MB, free: 15.46 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05458, allocations: 0 / 290 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01844/0.07302, allocations: 4.44 MB / 294.5 MB, free: 11.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.611079577007331]