Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 59.84 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2103, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004599/0.2149, allocations: 3.326 MB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2165, allocations: 0.9198 MB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.2166, allocations: 15.88 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2168, allocations: 87.16 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.2171, allocations: 162.5 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.2175, allocations: 167.7 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.2182, allocations: 0.6267 MB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.2184, allocations: 145.6 kB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.2188, allocations: 267.1 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.2191, allocations: 282.8 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.2192, allocations: 52 kB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2193, allocations: 56 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2194, allocations: 123.6 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2197, allocations: 230.9 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.2203, allocations: 0.6332 MB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2203, allocations: 0 / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2203, allocations: 0 / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2203, allocations: 3.938 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00155/0.2219, allocations: 0.7776 MB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2219, allocations: 8.031 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.2221, allocations: 72.55 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.2226, allocations: 289.7 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2226, allocations: 37 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.2227, allocations: 55.94 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.2235, allocations: 422.4 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.2235, allocations: 7.984 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.2236, allocations: 16 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2236, allocations: 12 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.2243, allocations: 387.8 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2266, allocations: 1.153 MB / 442.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.2274, allocations: 483.9 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.2281, allocations: 308.1 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.2281, allocations: 8.656 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.2281, allocations: 43.22 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.064e-06/0.2281, allocations: 0 / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006798/0.2349, allocations: 2.878 MB / 446.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.235, allocations: 64.39 kB / 446.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.2353, allocations: 264.2 kB / 446.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.2353, allocations: 45.64 kB / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2355, allocations: 209.5 kB / 446.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.2358, allocations: 384.7 kB / 447.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.236, allocations: 146.7 kB / 447.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2362, allocations: 362.8 kB / 447.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.2366, allocations: 237.9 kB / 448 MB, free: 6.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.2371, allocations: 317.4 kB / 448.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.2381, allocations: 0.5766 MB / 448.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2381, allocations: 0 / 448.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001233/0.2393, allocations: 0.7354 MB / 449.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2393, allocations: 4 kB / 449.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2394, allocations: 7.984 kB / 449.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2394, allocations: 4 kB / 449.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.2402, allocations: 199.8 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2402, allocations: 4 kB / 449.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2405, allocations: 31.98 kB / 449.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.2406, allocations: 27.98 kB / 449.9 MB, free: 4.938 MB / 350.1 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 (117): * Single equations (assignments): 117 * 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.0002454/0.2408, allocations: 201.6 kB / 450.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2409, allocations: 59.61 kB / 450.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2411, allocations: 77.56 kB / 450.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2411, allocations: 12 kB / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2411, allocations: 0 / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.2411, allocations: 7.984 kB / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.2439, allocations: 1.72 MB / 451.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.2439, allocations: 7.984 kB / 451.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.2447, allocations: 199.7 kB / 452.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.2447, allocations: 8 kB / 452.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.2448, allocations: 27.98 kB / 452.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.2448, allocations: 8 kB / 452.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.2448, allocations: 7.938 kB / 452.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.2467, allocations: 1.291 MB / 453.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.2468, allocations: 63.61 kB / 453.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.2469, allocations: 24 kB / 453.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.2472, allocations: 27.98 kB / 453.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2473, allocations: 84.73 kB / 453.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.2474, allocations: 32 kB / 453.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2476, allocations: 187.1 kB / 453.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2476, allocations: 4 kB / 453.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.2481, allocations: 160 kB / 454.1 MB, free: 0.5742 MB / 350.1 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 (107): * Single equations (assignments): 107 * 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.0001512/0.2482, allocations: 131 kB / 454.2 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2494, allocations: 0.6372 MB / 454.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2494, allocations: 0 / 454.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.25, allocations: 393.9 kB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.2508, allocations: 142 kB / 455.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.2533, allocations: 1.556 MB / 456.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2536, allocations: 284.9 kB / 457.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.2539, allocations: 81.2 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.2541, allocations: 63.42 kB / 457.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2541, allocations: 0 / 457.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01442/0.2685, allocations: 7.987 MB / 465.3 MB, free: 5.332 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.470840006004437]