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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.1 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.16 kB / 307.1 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1111, allocations: 50.53 MB / 357.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004398/0.1156, allocations: 2.713 MB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.117, allocations: 0.7248 MB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1171, allocations: 7.938 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1173, allocations: 43.69 kB / 361.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1176, allocations: 87.31 kB / 361.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1179, allocations: 79.86 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.1183, allocations: 386.3 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1186, allocations: 119.1 kB / 361.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1187, allocations: 143.5 kB / 362 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.119, allocations: 167.2 kB / 362.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.1191, allocations: 28 kB / 362.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.1191, allocations: 32 kB / 362.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.1192, allocations: 71.75 kB / 362.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1194, allocations: 179.1 kB / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.1197, allocations: 287.5 kB / 362.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1197, allocations: 4 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1198, allocations: 0 / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1198, allocations: 0 / 362.7 MB, free: 9.113 MB / 302.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.001118/0.1209, allocations: 0.616 MB / 363.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1209, allocations: 8.031 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.121, allocations: 36.56 kB / 363.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1214, allocations: 268.6 kB / 363.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1214, allocations: 25.03 kB / 363.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.1215, allocations: 31.94 kB / 363.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.1221, allocations: 262 kB / 363.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1221, allocations: 7.984 kB / 363.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1221, allocations: 15.94 kB / 364 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1222, allocations: 8 kB / 364 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1226, allocations: 230.5 kB / 364.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.124, allocations: 0.8037 MB / 365 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.1246, allocations: 336.7 kB / 365.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.1249, allocations: 181.5 kB / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1249, allocations: 8.312 kB / 365.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.125, allocations: 46.88 kB / 365.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.125, allocations: 0 / 365.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00406/0.1291, allocations: 1.892 MB / 367.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.1291, allocations: 63.95 kB / 367.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1294, allocations: 208.5 kB / 367.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.1294, allocations: 37.7 kB / 367.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1296, allocations: 148.9 kB / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.1298, allocations: 224.7 kB / 368.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1299, allocations: 90.34 kB / 368.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1301, allocations: 350.7 kB / 368.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1304, allocations: 145.2 kB / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1307, allocations: 153.9 kB / 368.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.1312, allocations: 353.6 kB / 369.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1313, allocations: 8 kB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007525/0.132, allocations: 464.8 kB / 369.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1321, allocations: 4 kB / 369.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1321, allocations: 0 / 369.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1321, allocations: 7.938 kB / 369.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.1326, allocations: 115.8 kB / 369.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1326, allocations: 4 kB / 369.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1328, allocations: 19.98 kB / 369.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.1328, allocations: 16 kB / 369.8 MB, free: 1.695 MB / 302.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.0001869/0.133, allocations: 162.4 kB / 370 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.1331, allocations: 31.62 kB / 370 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1332, allocations: 51.33 kB / 370.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1332, allocations: 7.938 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.1332, allocations: 0 / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1333, allocations: 7.984 kB / 370.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1352, allocations: 1.305 MB / 371.4 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1352, allocations: 4 kB / 371.4 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1812/0.3165, allocations: 114.8 kB / 371.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/0.3165, allocations: 11.94 kB / 371.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.3166, allocations: 18.47 kB / 371.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.3166, allocations: 7.781 kB / 371.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.3166, allocations: 8.703 kB / 371.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3178, allocations: 0.836 MB / 372.4 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.3179, allocations: 117.7 kB / 372.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.318, allocations: 24.28 kB / 372.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.3182, allocations: 16.53 kB / 372.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3183, allocations: 50.31 kB / 372.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.3184, allocations: 21.31 kB / 372.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3185, allocations: 152.7 kB / 372.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3185, allocations: 0 / 372.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.319, allocations: 98.53 kB / 372.8 MB, free: 19.48 MB / 302.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.0001592/0.3191, allocations: 116.2 kB / 373 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.32, allocations: 432.2 kB / 373.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.32, allocations: 1.062 kB / 373.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.3203, allocations: 247.2 kB / 373.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.3211, allocations: 102 kB / 373.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3227, allocations: 1.195 MB / 374.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.323, allocations: 0.7969 MB / 375.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3231, allocations: 42.34 kB / 375.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3231, allocations: 0 / 375.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of Templates: time 0.009196/0.3323, allocations: 4.716 MB / 380.5 MB, free: 17.37 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (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) 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) Reference file matches