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.001815/0.001815, allocations: 71.75 kB / 21.24 MB, free: 400 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.001421/0.001421, allocations: 164 kB / 24.49 MB, free: 3.453 MB / 14.72 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.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 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 0.001564/0.001564, allocations: 54.91 kB / 325.5 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09209, allocations: 53.33 MB / 378.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003728/0.09581, allocations: 2.474 MB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.09715, allocations: 0.6975 MB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.09728, allocations: 7.938 kB / 382.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.09744, allocations: 59.44 kB / 382.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.09765, allocations: 107 kB / 382.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.09794, allocations: 87.88 kB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.09838, allocations: 394.2 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.09857, allocations: 79.58 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.09876, allocations: 155.5 kB / 382.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.09899, allocations: 143.2 kB / 383.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.09904, allocations: 32 kB / 383.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.0991, allocations: 28 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.09918, allocations: 79.73 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.09934, allocations: 143.4 kB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.09977, allocations: 382.4 kB / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.09977, allocations: 0 / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09977, allocations: 0 / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.09978, allocations: 0 / 383.7 MB, free: 10.87 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.001005/0.1008, allocations: 0.5558 MB / 384.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1008, allocations: 8.031 kB / 384.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.1009, allocations: 44.7 kB / 384.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1013, allocations: 222.9 kB / 384.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.1013, allocations: 25.02 kB / 384.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.1013, allocations: 31.89 kB / 384.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1018, allocations: 262.1 kB / 384.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.1018, allocations: 4 kB / 384.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1019, allocations: 8 kB / 384.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1019, allocations: 8 kB / 384.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.1023, allocations: 226.5 kB / 385.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1036, allocations: 0.6554 MB / 385.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.1041, allocations: 319.3 kB / 386.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.1044, allocations: 161.5 kB / 386.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1044, allocations: 8.375 kB / 386.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.1045, allocations: 34.94 kB / 386.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.563e-06/0.1045, allocations: 0 / 386.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003959/0.1085, allocations: 1.77 MB / 388 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.1086, allocations: 64 kB / 388.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1088, allocations: 195.1 kB / 388.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.1088, allocations: 41.7 kB / 388.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.109, allocations: 157 kB / 388.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.1092, allocations: 233.9 kB / 388.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1093, allocations: 94.34 kB / 388.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1095, allocations: 342.8 kB / 389.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1098, allocations: 145.2 kB / 389.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.11, allocations: 157.8 kB / 389.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.1106, allocations: 350 kB / 389.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1106, allocations: 0 / 389.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007158/0.1113, allocations: 469 kB / 390.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1113, allocations: 14.66 kB / 390.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1113, allocations: 0 / 390.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1113, allocations: 3.938 kB / 390.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.1118, allocations: 119.8 kB / 390.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1118, allocations: 7.938 kB / 390.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.112, allocations: 12 kB / 390.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.1121, allocations: 19.98 kB / 390.4 MB, free: 3.957 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.0001962/0.1123, allocations: 157.8 kB / 390.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.1123, allocations: 39.77 kB / 390.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1125, allocations: 51.34 kB / 390.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1125, allocations: 11.94 kB / 390.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.1125, allocations: 7.922 kB / 390.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1125, allocations: 0 / 390.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.1145, allocations: 1.127 MB / 391.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.1145, allocations: 7.938 kB / 391.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.115, allocations: 119.8 kB / 391.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.115, allocations: 8 kB / 391.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.115, allocations: 16 kB / 391.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.115, allocations: 11.94 kB / 391.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.115, allocations: 4 kB / 392 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1162, allocations: 0.8426 MB / 392.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.1163, allocations: 47.73 kB / 392.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.1163, allocations: 16 kB / 392.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.1166, allocations: 23.98 kB / 392.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.1167, allocations: 56.3 kB / 392.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.1167, allocations: 20 kB / 393 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1168, allocations: 140.6 kB / 393.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 393.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.1173, allocations: 100 kB / 393.2 MB, free: 0.9844 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.0001433/0.1174, allocations: 130.2 kB / 393.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.1181, allocations: 388.1 kB / 393.7 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1181, allocations: 0 / 393.7 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.1184, allocations: 223.6 kB / 393.9 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.1191, allocations: 96.06 kB / 394 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1208, allocations: 1.012 MB / 395 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.121, allocations: 195.3 kB / 395.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.1212, allocations: 51.3 kB / 395.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1213, allocations: 44.48 kB / 395.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1213, allocations: 0 / 395.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01001/0.1314, allocations: 4.432 MB / 399.7 MB, free: 10.4 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.260446031927131]