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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.186e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004578/0.0046, allocations: 3.339 MB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.006473, allocations: 0.9257 MB / 329.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.006684, allocations: 14.97 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.006917, allocations: 83.14 kB / 329.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.007275, allocations: 175.7 kB / 329.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.007793, allocations: 163 kB / 329.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.008551, allocations: 0.6486 MB / 330.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.008845, allocations: 143.6 kB / 330.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.009401, allocations: 373 kB / 330.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.009747, allocations: 208.9 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.009832, allocations: 50.16 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.009971, allocations: 58.84 kB / 331.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.0101, allocations: 124.1 kB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.01034, allocations: 197.8 kB / 331.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.01108, allocations: 0.6437 MB / 332.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01109, allocations: 0 / 332.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01109, allocations: 1.031 kB / 332.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.0111, allocations: 4 kB / 332.1 MB, free: 11.96 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001527/0.01263, allocations: 0.771 MB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01266, allocations: 9.969 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.01287, allocations: 67.97 kB / 333 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.01338, allocations: 285.7 kB / 333.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.01342, allocations: 36.91 kB / 333.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.0135, allocations: 63.86 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.01427, allocations: 418.9 kB / 333.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.0143, allocations: 1.188 kB / 333.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.01434, allocations: 20 kB / 333.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.01436, allocations: 12.75 kB / 333.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.01513, allocations: 382 kB / 334.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.01745, allocations: 1.163 MB / 335.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.01823, allocations: 483.7 kB / 335.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.01891, allocations: 310.4 kB / 336.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.01896, allocations: 13.05 kB / 336.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.019, allocations: 46.53 kB / 336.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.093e-06/0.019, allocations: 1.375 kB / 336.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.007056/0.02606, allocations: 2.862 MB / 339 MB, free: 6.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.0261, allocations: 64.41 kB / 339.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.02641, allocations: 272.2 kB / 339.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.02647, allocations: 45.7 kB / 339.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.02663, allocations: 205.6 kB / 339.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.02693, allocations: 376.7 kB / 340 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.02716, allocations: 150.6 kB / 340.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.02734, allocations: 366.8 kB / 340.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.02782, allocations: 241.9 kB / 340.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.02835, allocations: 317.4 kB / 341 MB, free: 4.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.02942, allocations: 0.5727 MB / 341.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02943, allocations: 4 kB / 341.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001295/0.03072, allocations: 0.7277 MB / 342.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.03074, allocations: 11.92 kB / 342.3 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.03075, allocations: 0 / 342.3 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.03077, allocations: 4 kB / 342.3 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/0.03158, allocations: 199.7 kB / 342.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.03159, allocations: 4 kB / 342.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.03191, allocations: 31.98 kB / 342.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.03196, allocations: 32.05 kB / 342.6 MB, free: 3.246 MB / 302.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.0002658/0.03223, allocations: 205.5 kB / 342.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.03233, allocations: 59.62 kB / 342.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.0325, allocations: 81.5 kB / 342.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.03251, allocations: 8 kB / 342.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.03252, allocations: 0 / 342.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.03253, allocations: 7.984 kB / 343 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.03546, allocations: 1.716 MB / 344.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.03547, allocations: 7.984 kB / 344.7 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.03628, allocations: 199.7 kB / 344.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.03629, allocations: 8 kB / 344.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.03634, allocations: 27.98 kB / 344.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.03635, allocations: 11.94 kB / 344.9 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.03636, allocations: 11.94 kB / 344.9 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.03838, allocations: 1.275 MB / 346.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.03846, allocations: 55.66 kB / 346.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.03854, allocations: 24.06 kB / 346.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.0389, allocations: 35.92 kB / 346.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.03905, allocations: 84.73 kB / 346.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.03911, allocations: 32 kB / 346.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.03931, allocations: 187.1 kB / 346.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03931, allocations: 0 / 346.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.03984, allocations: 156 kB / 346.8 MB, free: 14.89 MB / 318.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.0001999/0.04004, allocations: 133.9 kB / 346.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.04121, allocations: 0.6371 MB / 347.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04122, allocations: 0 / 347.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.04187, allocations: 386.4 kB / 347.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.04273, allocations: 136.4 kB / 348 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.04512, allocations: 1.411 MB / 349.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.0454, allocations: 284.9 kB / 349.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.04569, allocations: 81.2 kB / 349.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.04588, allocations: 64.48 kB / 349.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.04588, allocations: 0 / 349.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01431/0.06019, allocations: 7.038 MB / 356.9 MB, free: 4.75 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.486974343657494]