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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000979/0.0009792, allocations: 105.9 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009416/0.0009416, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.216, allocations: 50.44 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002805/0.2189, allocations: 2.657 MB / 409.7 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005098/0.2194, allocations: 385.9 kB / 410.1 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2196, allocations: 10.25 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.2197, allocations: 39.69 kB / 410.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2199, allocations: 78.33 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2202, allocations: 79.91 kB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2204, allocations: 370.4 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2206, allocations: 99.64 kB / 410.7 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2207, allocations: 127.5 kB / 410.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2208, allocations: 155.4 kB / 411 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.2209, allocations: 20 kB / 411 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.2209, allocations: 20 kB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.221, allocations: 59.75 kB / 411.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.2211, allocations: 155.2 kB / 411.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.2213, allocations: 352.3 kB / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2213, allocations: 0 / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2213, allocations: 0 / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2213, allocations: 0 / 411.6 MB, free: 23.22 MB / 298.7 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.0008744/0.2222, allocations: 0.6276 MB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2223, allocations: 8.031 kB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.2223, allocations: 36.56 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2225, allocations: 263.6 kB / 412.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.2226, allocations: 20.94 kB / 412.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.2226, allocations: 36.28 kB / 412.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.2231, allocations: 277.4 kB / 412.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2231, allocations: 4.172 kB / 412.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.2232, allocations: 15.94 kB / 412.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2232, allocations: 8 kB / 412.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.2237, allocations: 266 kB / 413.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2247, allocations: 0.7913 MB / 413.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.2252, allocations: 371.1 kB / 414.3 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.2255, allocations: 196 kB / 414.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.2255, allocations: 11.98 kB / 414.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.2255, allocations: 30.56 kB / 414.5 MB, free: 20.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.2256, allocations: 4 kB / 414.5 MB, free: 20.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003462/0.229, allocations: 1.957 MB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2291, allocations: 59.97 kB / 416.6 MB, free: 18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2292, allocations: 195 kB / 416.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2293, allocations: 41.64 kB / 416.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.2293, allocations: 148.9 kB / 416.9 MB, free: 17.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.2294, allocations: 212.8 kB / 417.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2295, allocations: 94.23 kB / 417.2 MB, free: 17.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.2296, allocations: 350.7 kB / 417.6 MB, free: 16.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.2299, allocations: 161 kB / 417.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.2302, allocations: 169 kB / 417.9 MB, free: 16.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.2307, allocations: 376 kB / 418.3 MB, free: 16.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2307, allocations: 3.938 kB / 418.3 MB, free: 16.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006663/0.2314, allocations: 486.7 kB / 418.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2314, allocations: 6.812 kB / 418.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2314, allocations: 0 / 418.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2315, allocations: 4 kB / 418.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.2319, allocations: 119.8 kB / 418.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.232, allocations: 4 kB / 418.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.2322, allocations: 19.98 kB / 418.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.2322, allocations: 35.92 kB / 418.9 MB, free: 15.58 MB / 298.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 (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.0001292/0.2323, allocations: 153.8 kB / 419.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.2324, allocations: 35.53 kB / 419.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2325, allocations: 47.33 kB / 419.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2325, allocations: 8 kB / 419.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2325, allocations: 3.938 kB / 419.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2326, allocations: 0 / 419.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.2341, allocations: 1.317 MB / 420.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2341, allocations: 8 kB / 420.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.2346, allocations: 123.8 kB / 420.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2346, allocations: 11.94 kB / 420.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.2346, allocations: 16.56 kB / 420.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.2346, allocations: 15.94 kB / 420.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2346, allocations: 4 kB / 420.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.2392, allocations: 3.4 MB / 424.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.2393, allocations: 124.7 kB / 424.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.2393, allocations: 19.94 kB / 424.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2396, allocations: 23.98 kB / 424.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.2397, allocations: 51.81 kB / 424.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.2397, allocations: 20 kB / 424.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.2398, allocations: 144.6 kB / 424.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2398, allocations: 0 / 424.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004853/0.2403, allocations: 128 kB / 424.6 MB, free: 9.594 MB / 298.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 (63): * Single equations (assignments): 63 * 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.0001041/0.2404, allocations: 123 kB / 424.7 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.2411, allocations: 442.7 kB / 425.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2411, allocations: 0 / 425.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.2414, allocations: 243.6 kB / 425.4 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.2421, allocations: 90.23 kB / 425.4 MB, free: 8.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.2436, allocations: 1.507 MB / 427 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2438, allocations: 0.8052 MB / 427.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.244, allocations: 55.25 kB / 427.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.2442, allocations: 43.42 kB / 427.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2442, allocations: 0 / 427.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of Templates: time 0.007226/0.2514, allocations: 4.777 MB / 432.6 MB, free: 1.441 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches