Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, 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.283/1.283, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009616/0.0009615, allocations: 100.2 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008846/0.0008846, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1996, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003237/0.2029, allocations: 3.574 MB / 410.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2041, allocations: 0.9162 MB / 411.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2043, allocations: 15.88 kB / 411.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.2045, allocations: 59.53 kB / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2048, allocations: 126.9 kB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.2051, allocations: 135.9 kB / 411.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.2055, allocations: 0.5723 MB / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.2057, allocations: 162.3 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.2059, allocations: 223.2 kB / 412.8 MB, free: 22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2061, allocations: 266.8 kB / 413.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.2062, allocations: 39.94 kB / 413.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.2063, allocations: 36 kB / 413.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.2063, allocations: 99.64 kB / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2065, allocations: 254.7 kB / 413.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.2068, allocations: 0.5658 MB / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2068, allocations: 0 / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2069, allocations: 0 / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2069, allocations: 0 / 414.1 MB, free: 20.75 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0013/0.2082, allocations: 0.8575 MB / 414.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2082, allocations: 8.031 kB / 414.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2084, allocations: 64.36 kB / 415 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.2087, allocations: 323.2 kB / 415.3 MB, free: 19.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.2087, allocations: 41.38 kB / 415.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.2088, allocations: 48.38 kB / 415.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.2095, allocations: 450.7 kB / 415.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2096, allocations: 3.906 kB / 415.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2096, allocations: 20 kB / 415.9 MB, free: 18.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2096, allocations: 12 kB / 415.9 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.2105, allocations: 463.6 kB / 416.3 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2122, allocations: 1.374 MB / 417.7 MB, free: 16.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.213, allocations: 0.5457 MB / 418.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.2137, allocations: 379.3 kB / 418.6 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.2138, allocations: 8.562 kB / 418.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2138, allocations: 43.11 kB / 418.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.844e-06/0.2138, allocations: 0 / 418.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006099/0.2199, allocations: 3.137 MB / 421.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.22, allocations: 60.41 kB / 421.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2201, allocations: 259 kB / 422.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2202, allocations: 41.7 kB / 422.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.2203, allocations: 189.2 kB / 422.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.2205, allocations: 358.8 kB / 422.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2206, allocations: 142.7 kB / 422.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.2207, allocations: 358.8 kB / 423.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.2212, allocations: 285.7 kB / 423.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.2218, allocations: 345.4 kB / 423.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.2228, allocations: 0.6234 MB / 424.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2228, allocations: 0 / 424.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001267/0.2241, allocations: 0.778 MB / 425.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2241, allocations: 4 kB / 425.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2241, allocations: 0 / 425.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.2242, allocations: 11.88 kB / 425.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.2249, allocations: 211.7 kB / 425.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2249, allocations: 12.05 kB / 425.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.2253, allocations: 47.97 kB / 425.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2253, allocations: 27.98 kB / 425.5 MB, free: 8.973 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0001862/0.2255, allocations: 201.6 kB / 425.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.2256, allocations: 51.42 kB / 425.7 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.2258, allocations: 77.33 kB / 425.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2258, allocations: 16 kB / 425.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2258, allocations: 0 / 425.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2258, allocations: 3.984 kB / 425.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.2282, allocations: 1.99 MB / 427.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2282, allocations: 8.594 kB / 427.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.2289, allocations: 207.7 kB / 428 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.229, allocations: 8 kB / 428.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.229, allocations: 27.94 kB / 428.1 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.229, allocations: 15.92 kB / 428.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.229, allocations: 4 kB / 428.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007723/0.2368, allocations: 5.099 MB / 433.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.2369, allocations: 128.5 kB / 433.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.2369, allocations: 24.12 kB / 433.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.2373, allocations: 51.95 kB / 433.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2374, allocations: 76.8 kB / 433.5 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.2375, allocations: 35.98 kB / 433.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2376, allocations: 170 kB / 433.7 MB, free: 468 kB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2376, allocations: 0 / 433.7 MB, free: 468 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.2383, allocations: 208 kB / 433.9 MB, free: 260 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001438/0.2384, allocations: 135.9 kB / 434 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.2398, allocations: 0.723 MB / 434.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2399, allocations: 0 / 434.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007939/0.2407, allocations: 449.5 kB / 435.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.2415, allocations: 126 kB / 435.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.2446, allocations: 2.295 MB / 437.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.2451, allocations: 0.892 MB / 438.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.2455, allocations: 88.95 kB / 438.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.2457, allocations: 63.42 kB / 438.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2457, allocations: 0 / 438.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of Templates: time 0.01295/0.2587, allocations: 7.786 MB / 446.4 MB, free: 3.637 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches