Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 227.7 MB / 247.1 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 61.12 kB / 307.2 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1258, allocations: 50.54 MB / 357.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00434/0.1302, allocations: 2.681 MB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1318, allocations: 0.7325 MB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.132, allocations: 4 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.1322, allocations: 47.45 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1325, allocations: 103.1 kB / 361.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1328, allocations: 91.83 kB / 361.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.1332, allocations: 386.3 kB / 361.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1335, allocations: 115 kB / 361.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1337, allocations: 147.4 kB / 362.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1339, allocations: 171.2 kB / 362.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.134, allocations: 32 kB / 362.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.134, allocations: 28 kB / 362.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.1341, allocations: 75.75 kB / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1343, allocations: 171.1 kB / 362.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.1347, allocations: 374.9 kB / 362.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1347, allocations: 0 / 362.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1348, allocations: 3.938 kB / 362.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1348, allocations: 0 / 362.9 MB, free: 8.781 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.001048/0.1358, allocations: 0.6237 MB / 363.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1359, allocations: 8.031 kB / 363.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.1359, allocations: 36.56 kB / 363.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1363, allocations: 268.6 kB / 363.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1363, allocations: 21.03 kB / 363.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.1364, allocations: 35.94 kB / 363.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1368, allocations: 258.1 kB / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1369, allocations: 4 kB / 364.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.1369, allocations: 15.98 kB / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1369, allocations: 12 kB / 364.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.1373, allocations: 234.4 kB / 364.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1387, allocations: 0.8037 MB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.1393, allocations: 334.5 kB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1395, allocations: 181.5 kB / 365.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.1396, allocations: 16.36 kB / 365.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1396, allocations: 34.94 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.533e-06/0.1396, allocations: 0 / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003831/0.1435, allocations: 1.903 MB / 367.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1435, allocations: 59.97 kB / 367.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1437, allocations: 200.5 kB / 367.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.1438, allocations: 41.7 kB / 367.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1439, allocations: 148.9 kB / 368.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1441, allocations: 224.7 kB / 368.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.1442, allocations: 90.34 kB / 368.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1444, allocations: 346.8 kB / 368.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.1447, allocations: 149.2 kB / 368.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1449, allocations: 153.8 kB / 369 MB, free: 2.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.1455, allocations: 353.6 kB / 369.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1455, allocations: 0 / 369.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007098/0.1462, allocations: 460.8 kB / 369.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1462, allocations: 8 kB / 369.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1462, allocations: 0 / 369.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1463, allocations: 3.938 kB / 369.8 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.1467, allocations: 115.9 kB / 369.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1468, allocations: 4 kB / 370 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1469, allocations: 20 kB / 370 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.147, allocations: 23.88 kB / 370 MB, free: 1.359 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.0001732/0.1472, allocations: 157.8 kB / 370.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.1472, allocations: 35.62 kB / 370.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1474, allocations: 51.34 kB / 370.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1474, allocations: 11.94 kB / 370.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1474, allocations: 0 / 370.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1474, allocations: 3.984 kB / 370.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1821/0.3295, allocations: 1.306 MB / 371.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.3296, allocations: 4.594 kB / 371.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.3301, allocations: 119.4 kB / 371.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.3301, allocations: 6.844 kB / 371.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.3301, allocations: 16.75 kB / 371.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.3302, allocations: 13.83 kB / 371.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3302, allocations: 4.594 kB / 371.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3312, allocations: 0.8438 MB / 372.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3313, allocations: 116.2 kB / 372.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3314, allocations: 16.17 kB / 372.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3316, allocations: 18.55 kB / 372.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.3317, allocations: 55.83 kB / 372.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.3317, allocations: 21.44 kB / 372.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.3319, allocations: 149.2 kB / 372.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0.75 kB / 372.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.3323, allocations: 95.5 kB / 373 MB, free: 19.34 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.0001166/0.3324, allocations: 124 kB / 373.1 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007525/0.3332, allocations: 436.7 kB / 373.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3332, allocations: 0.875 kB / 373.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.3336, allocations: 241.2 kB / 373.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.3343, allocations: 98.62 kB / 373.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3359, allocations: 1.019 MB / 374.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3361, allocations: 0.8006 MB / 375.7 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3363, allocations: 50.8 kB / 375.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.3364, allocations: 45.39 kB / 375.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3364, allocations: 4 kB / 375.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009539/0.3459, allocations: 4.326 MB / 380.1 MB, free: 17.49 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches