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.001893/0.001893, allocations: 103.5 kB / 21.73 MB, free: 2.688 MB / 18.57 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.001961/0.001961, allocations: 166.3 kB / 25.03 MB, free: 8.941 MB / 18.57 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.35/1.35, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 250.3 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.723e-05, allocations: 6.109 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005266/0.005293, allocations: 3.455 MB / 253.8 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.007489, allocations: 0.8965 MB / 254.7 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.007706, allocations: 15.88 kB / 254.7 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.007933, allocations: 75.22 kB / 254.8 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.00826, allocations: 158.6 kB / 254.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.008726, allocations: 167.5 kB / 255.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.009428, allocations: 0.6071 MB / 255.7 MB, free: 2.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.009702, allocations: 137.9 kB / 255.9 MB, free: 2.289 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/0.01042, allocations: 359.3 kB / 256.2 MB, free: 1.938 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.01073, allocations: 207.4 kB / 256.4 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.01082, allocations: 52 kB / 256.5 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.01092, allocations: 52 kB / 256.5 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.01105, allocations: 119.6 kB / 256.6 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.01129, allocations: 195.5 kB / 256.8 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.01202, allocations: 0.6152 MB / 257.4 MB, free: 0.707 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.01202, allocations: 4 kB / 257.4 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01202, allocations: 0 / 257.4 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.01204, allocations: 3.984 kB / 257.4 MB, free: 0.6992 MB / 234.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.00181/0.01385, allocations: 0.8814 MB / 258.3 MB, free: 15.78 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.01389, allocations: 8.031 kB / 258.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.01408, allocations: 92.61 kB / 258.4 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.01453, allocations: 271.2 kB / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.01458, allocations: 37.31 kB / 258.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.01466, allocations: 52.33 kB / 258.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.01551, allocations: 419 kB / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.01554, allocations: 8.188 kB / 259.2 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.01559, allocations: 20.38 kB / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.01561, allocations: 15.94 kB / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.01651, allocations: 403.8 kB / 259.6 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.01907, allocations: 1.301 MB / 260.9 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.02001, allocations: 0.5028 MB / 261.4 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.0208, allocations: 334 kB / 261.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.02086, allocations: 12.66 kB / 261.8 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.0209, allocations: 42.05 kB / 261.8 MB, free: 12.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.484e-06/0.0209, allocations: 4 kB / 261.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.006249/0.02715, allocations: 2.789 MB / 264.6 MB, free: 9.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.02721, allocations: 68.39 kB / 264.7 MB, free: 9.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.02757, allocations: 320.3 kB / 265 MB, free: 8.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.02762, allocations: 41.7 kB / 265 MB, free: 8.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.02783, allocations: 256.2 kB / 265.3 MB, free: 8.633 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.02823, allocations: 388.8 kB / 265.6 MB, free: 8.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.02851, allocations: 176.3 kB / 265.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.02885, allocations: 0.5664 MB / 266.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.02941, allocations: 253.9 kB / 266.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.03007, allocations: 361.8 kB / 267 MB, free: 6.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.03128, allocations: 0.6395 MB / 267.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03128, allocations: 4 kB / 267.6 MB, free: 6.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00156/0.03284, allocations: 0.7784 MB / 268.4 MB, free: 5.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.03286, allocations: 4 kB / 268.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.03287, allocations: 4.062 kB / 268.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.03289, allocations: 4 kB / 268.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.03369, allocations: 203.7 kB / 268.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.0337, allocations: 4 kB / 268.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.03402, allocations: 35.92 kB / 268.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.03408, allocations: 31.98 kB / 268.7 MB, free: 5.156 MB / 250.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.000306/0.03439, allocations: 240.4 kB / 268.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.03453, allocations: 83.67 kB / 269 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.03473, allocations: 81.36 kB / 269.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.03475, allocations: 12 kB / 269.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.03476, allocations: 0 / 269.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.03478, allocations: 3.984 kB / 269.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.03844, allocations: 1.974 MB / 271.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.03844, allocations: 4 kB / 271.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.03925, allocations: 199.7 kB / 271.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.03926, allocations: 8.594 kB / 271.3 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.03932, allocations: 24 kB / 271.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/0.03933, allocations: 19.92 kB / 271.3 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.03934, allocations: 4 kB / 271.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.04171, allocations: 1.461 MB / 272.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.0418, allocations: 47.67 kB / 272.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.04188, allocations: 35.97 kB / 272.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.04221, allocations: 31.98 kB / 272.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.04235, allocations: 80.75 kB / 273 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.0424, allocations: 28 kB / 273 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.04262, allocations: 221.1 kB / 273.2 MB, free: 404 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04262, allocations: 4 kB / 273.2 MB, free: 400 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005668/0.04319, allocations: 152 kB / 273.4 MB, free: 248 kB / 250.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.000207/0.04339, allocations: 134.9 kB / 273.5 MB, free: 100 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.04491, allocations: 0.7286 MB / 274.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.04492, allocations: 0 / 274.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.04569, allocations: 436.1 kB / 274.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.0465, allocations: 140.1 kB / 274.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.04931, allocations: 1.463 MB / 276.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.04966, allocations: 272.5 kB / 276.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.04998, allocations: 68.94 kB / 276.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.05017, allocations: 64.48 kB / 276.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.734e-06/0.05018, allocations: 0 / 276.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01503/0.06521, allocations: 6.575 MB / 283.2 MB, free: 6.281 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/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: 4.549330923007801]