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.001381/0.001381, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001521/0.001521, allocations: 165.9 kB / 25.61 MB, free: 8.59 MB / 18.57 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.036/1.036, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.761e-05, allocations: 5.266 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003946/0.003973, allocations: 3.55 MB / 277.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006162, allocations: 0.9382 MB / 278.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.006436, allocations: 11.94 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.006656, allocations: 83.16 kB / 278.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.006989, allocations: 178.4 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.007591, allocations: 163.6 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.008306, allocations: 0.6498 MB / 279.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.008576, allocations: 137.9 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.009275, allocations: 375.2 kB / 280.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.009635, allocations: 219.3 kB / 280.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.009701, allocations: 56 kB / 280.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.009807, allocations: 56 kB / 280.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.009894, allocations: 123.5 kB / 280.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01006, allocations: 207.5 kB / 280.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.01058, allocations: 430.4 kB / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01058, allocations: 0 / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01058, allocations: 0 / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.01059, allocations: 0 / 281.3 MB, free: 13.29 MB / 266.7 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.00115/0.01174, allocations: 0.8735 MB / 282.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01179, allocations: 19.98 kB / 282.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.01203, allocations: 108.5 kB / 282.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.01241, allocations: 284.2 kB / 282.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.01246, allocations: 37.38 kB / 282.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.01253, allocations: 59.86 kB / 282.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.01291, allocations: 295.1 kB / 283 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.01294, allocations: 7.938 kB / 283 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.01297, allocations: 20 kB / 283 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.01298, allocations: 19.98 kB / 283 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.01322, allocations: 178.8 kB / 283.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.01474, allocations: 1.091 MB / 284.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.01512, allocations: 356.4 kB / 284.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.01542, allocations: 222.1 kB / 284.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.01546, allocations: 16.64 kB / 284.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.01549, allocations: 42.05 kB / 284.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.534e-06/0.0155, allocations: 0 / 284.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.003069/0.01856, allocations: 2.007 MB / 286.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.01861, allocations: 60.41 kB / 287 MB, free: 7.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.01882, allocations: 318.1 kB / 287.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.01885, allocations: 41.7 kB / 287.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.01899, allocations: 256.3 kB / 287.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.0192, allocations: 380.5 kB / 287.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.01936, allocations: 156.2 kB / 288.1 MB, free: 6.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01951, allocations: 0.539 MB / 288.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.01964, allocations: 101.9 kB / 288.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.01983, allocations: 197.8 kB / 288.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.02019, allocations: 358.8 kB / 289.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02019, allocations: 0 / 289.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0005501/0.02074, allocations: 0.5206 MB / 289.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.02076, allocations: 8 kB / 289.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02077, allocations: 0 / 289.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.02078, allocations: 7.938 kB / 289.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.02121, allocations: 199.7 kB / 290 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.02121, allocations: 4 kB / 290 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.02135, allocations: 32.05 kB / 290 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.02138, allocations: 20 kB / 290.1 MB, free: 4.246 MB / 266.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 (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.0001798/0.02156, allocations: 204.3 kB / 290.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.02165, allocations: 95.62 kB / 290.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.02175, allocations: 77.56 kB / 290.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.02177, allocations: 11.94 kB / 290.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.02177, allocations: 0 / 290.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.02178, allocations: 7.969 kB / 290.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.02338, allocations: 1.483 MB / 291.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.02339, allocations: 12.06 kB / 292 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.02383, allocations: 191.7 kB / 292.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.02384, allocations: 12 kB / 292.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.02388, allocations: 27.98 kB / 292.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.02389, allocations: 11.94 kB / 292.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.0239, allocations: 4 kB / 292.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.02525, allocations: 1.027 MB / 293.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.02531, allocations: 59.61 kB / 293.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.02536, allocations: 31.88 kB / 293.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.02552, allocations: 27.98 kB / 293.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.02562, allocations: 80.75 kB / 293.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.02564, allocations: 23.98 kB / 293.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.02576, allocations: 214.9 kB / 293.6 MB, free: 456 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02576, allocations: 0 / 293.6 MB, free: 456 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.02614, allocations: 156 kB / 293.8 MB, free: 300 kB / 266.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 (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.0001595/0.0263, allocations: 127 kB / 293.9 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005024/0.0268, allocations: 458.1 kB / 294.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.02681, allocations: 0 / 294.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.02707, allocations: 284.2 kB / 294.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.02766, allocations: 155.3 kB / 294.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.0295, allocations: 1.378 MB / 296.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02961, allocations: 143.9 kB / 296.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.02984, allocations: 85.2 kB / 296.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.03014, allocations: 222.1 kB / 296.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.03014, allocations: 0 / 296.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01195/0.04209, allocations: 7.997 MB / 304.6 MB, free: 5.477 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.156721942126751]