Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001683/0.001683, allocations: 113.4 kB / 21.93 MB, free: 5.219 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.001968/0.001968, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.86 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4151, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005418/0.4205, allocations: 3.196 MB / 400.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.4224, allocations: 0.8898 MB / 401.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.4226, allocations: 12.22 kB / 401.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.4229, allocations: 81.78 kB / 401.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.4232, allocations: 139.5 kB / 401.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.4237, allocations: 163.4 kB / 402.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.4245, allocations: 0.5966 MB / 402.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.4249, allocations: 129.9 kB / 402.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.4252, allocations: 242.8 kB / 403 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.4256, allocations: 238 kB / 403.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.4257, allocations: 49.53 kB / 403.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4258, allocations: 59.25 kB / 403.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.4259, allocations: 120.8 kB / 403.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4262, allocations: 232.5 kB / 403.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.427, allocations: 0.5972 MB / 404.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.427, allocations: 1.984 kB / 404.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.427, allocations: 0 / 404.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.427, allocations: 0 / 404.3 MB, free: 5.336 MB / 318.1 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.001945/0.429, allocations: 0.7832 MB / 405.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.429, allocations: 8.5 kB / 405.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.4292, allocations: 65.44 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.4298, allocations: 267.9 kB / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.4298, allocations: 33.16 kB / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4299, allocations: 51.73 kB / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.431, allocations: 460 kB / 406 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.4311, allocations: 6.062 kB / 406 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.4311, allocations: 20.12 kB / 406 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.4311, allocations: 14.48 kB / 406 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4323, allocations: 454.8 kB / 406.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.4348, allocations: 1.167 MB / 407.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4359, allocations: 0.4977 MB / 408.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008946/0.4368, allocations: 343.8 kB / 408.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.4368, allocations: 9.5 kB / 408.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4368, allocations: 47.33 kB / 408.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.825e-06/0.4369, allocations: 1.438 kB / 408.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.00793/0.4448, allocations: 3.004 MB / 411.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.4448, allocations: 66.81 kB / 411.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4451, allocations: 245.4 kB / 411.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.4452, allocations: 45.64 kB / 411.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4453, allocations: 185.2 kB / 412 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.4455, allocations: 373.5 kB / 412.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.4457, allocations: 145.6 kB / 412.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4458, allocations: 357.4 kB / 412.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/0.4464, allocations: 278.2 kB / 413.2 MB, free: 396 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.4471, allocations: 348.2 kB / 413.5 MB, free: 212 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.4485, allocations: 0.62 MB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4485, allocations: 1.125 kB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001789/0.4503, allocations: 0.7852 MB / 414.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4503, allocations: 5.594 kB / 414.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4504, allocations: 0 / 414.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.4504, allocations: 4.469 kB / 414.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.4513, allocations: 214.7 kB / 415.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.4513, allocations: 4.531 kB / 415.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4517, allocations: 47.89 kB / 415.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.4518, allocations: 32.67 kB / 415.2 MB, free: 15.41 MB / 334.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 (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.0003363/0.4521, allocations: 196.1 kB / 415.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4522, allocations: 53.33 kB / 415.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.4524, allocations: 71.92 kB / 415.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4524, allocations: 13.94 kB / 415.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/0.4525, allocations: 1.094 kB / 415.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4525, allocations: 3.984 kB / 415.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.4559, allocations: 1.76 MB / 417.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.456, allocations: 4.5 kB / 417.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.4568, allocations: 206.5 kB / 417.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/0.4568, allocations: 16.38 kB / 417.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.4569, allocations: 25.7 kB / 417.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.4569, allocations: 16.06 kB / 417.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.4569, allocations: 14.03 kB / 417.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.4595, allocations: 1.367 MB / 419 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4597, allocations: 47.08 kB / 419 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.4597, allocations: 25.83 kB / 419 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.4602, allocations: 51.25 kB / 419.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.4603, allocations: 75.97 kB / 419.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.4604, allocations: 39.92 kB / 419.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4606, allocations: 167.9 kB / 419.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4606, allocations: 3.938 kB / 419.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006308/0.4612, allocations: 154.2 kB / 419.5 MB, free: 12.74 MB / 334.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 (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.0001953/0.4614, allocations: 123.9 kB / 419.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.463, allocations: 0.7071 MB / 420.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.463, allocations: 0 / 420.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.4638, allocations: 418.3 kB / 420.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.4646, allocations: 132.5 kB / 420.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4675, allocations: 1.557 MB / 422.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4678, allocations: 268.5 kB / 422.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.468, allocations: 67.41 kB / 422.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.468, allocations: 0 / 422.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of Templates: time 0.0135/0.4815, allocations: 7.535 MB / 430.3 MB, free: 1.91 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.9870520839467645]