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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 107.5 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.39 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07495, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003223/0.07819, allocations: 2.598 MB / 378.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.07898, allocations: 362.8 kB / 378.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.07917, allocations: 11.94 kB / 378.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.07938, allocations: 47.5 kB / 378.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.07961, allocations: 103.1 kB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.07991, allocations: 83.81 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.08028, allocations: 374.4 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.08051, allocations: 123 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.08071, allocations: 147.5 kB / 379.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.08091, allocations: 159.3 kB / 379.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.08096, allocations: 32 kB / 379.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.08101, allocations: 28 kB / 379.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.08109, allocations: 83.73 kB / 379.9 MB, free: 456 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.08124, allocations: 163.2 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1823/0.2635, allocations: 366.4 kB / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2636, allocations: 0 / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2636, allocations: 0 / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.2636, allocations: 0 / 380.5 MB, free: 10.57 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.001696/0.2653, allocations: 0.6214 MB / 381.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2654, allocations: 8.25 kB / 381.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.2655, allocations: 35.66 kB / 381.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.266, allocations: 275.6 kB / 381.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.266, allocations: 22.03 kB / 381.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.2661, allocations: 33.47 kB / 381.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.267, allocations: 271.8 kB / 381.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.267, allocations: 2.281 kB / 381.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.2671, allocations: 15.84 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.2671, allocations: 6.844 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.2681, allocations: 269.1 kB / 382 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2701, allocations: 0.7875 MB / 382.8 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2712, allocations: 365.2 kB / 383.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.272, allocations: 199.1 kB / 383.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.272, allocations: 5 kB / 383.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2721, allocations: 44.05 kB / 383.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.045e-06/0.2721, allocations: 1.719 kB / 383.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007307/0.2794, allocations: 1.964 MB / 385.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.2794, allocations: 58.09 kB / 385.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2797, allocations: 199 kB / 385.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.2798, allocations: 36.55 kB / 385.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.2799, allocations: 144 kB / 385.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2801, allocations: 216 kB / 386 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.2803, allocations: 91.45 kB / 386.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.2804, allocations: 352.2 kB / 386.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.281, allocations: 158.5 kB / 386.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.2816, allocations: 172 kB / 386.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2828, allocations: 372.8 kB / 387.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2829, allocations: 5.188 kB / 387.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001369/0.2843, allocations: 487.9 kB / 387.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2843, allocations: 5.078 kB / 387.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2843, allocations: 1.344 kB / 387.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2843, allocations: 1.938 kB / 387.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.2851, allocations: 122.6 kB / 387.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.2851, allocations: 2.25 kB / 387.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2855, allocations: 26.92 kB / 387.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.2855, allocations: 17.17 kB / 387.8 MB, free: 7.352 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.0002013/0.2858, allocations: 164.6 kB / 387.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2859, allocations: 35.89 kB / 388 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.286, allocations: 53.83 kB / 388 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2861, allocations: 4 kB / 388 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2861, allocations: 6.75 kB / 388 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.2862, allocations: 102.9 kB / 388.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.2862, allocations: 18.86 kB / 388.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2867, allocations: 23.48 kB / 388.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2868, allocations: 32.94 kB / 388.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001968/0.2888, allocations: 0.597 MB / 388.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002106/0.2909, allocations: 0.8782 MB / 389.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005885/0.2915, allocations: 235.4 kB / 389.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.2917, allocations: 141.8 kB / 390 MB, free: 6.078 MB / 318.1 MB Notification: Performance of Backend: time 3.9e-07/0.2917, allocations: 0 / 390 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2929, allocations: 350 kB / 390.4 MB, free: 5.934 MB / 318.1 MB Notification: Performance of SimCode: time 0.001941/0.2948, allocations: 1.225 MB / 391.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of Templates: time 0.01685/0.3117, allocations: 5.151 MB / 396.8 MB, free: 4.527 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (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) 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) Reference file matches