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.001888/0.001888, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002011/0.002011, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.564/1.564, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.282e-06/1.282e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.661e-05, allocations: 10.31 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.007638/0.007664, allocations: 3.581 MB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.01045, allocations: 0.9353 MB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.01092, allocations: 15.88 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.0113, allocations: 83.22 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.01199, allocations: 166.4 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.01275, allocations: 175.6 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.01398, allocations: 0.642 MB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.01438, allocations: 137.9 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009076/0.01528, allocations: 379.2 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005093/0.01579, allocations: 215.3 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01591, allocations: 52 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.01631, allocations: 56 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.01647, allocations: 123.5 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.01681, allocations: 195.6 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.0179, allocations: 0.6579 MB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.0179, allocations: 0 / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0179, allocations: 0 / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.01792, allocations: 0 / 279.6 MB, free: 10.39 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.002204/0.02012, allocations: 0.9006 MB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.02016, allocations: 8.031 kB / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.02052, allocations: 108.6 kB / 280.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.0212, allocations: 300.2 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.02126, allocations: 37.38 kB / 280.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.02138, allocations: 55.89 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.02245, allocations: 406.4 kB / 281.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.02248, allocations: 0 / 281.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.02254, allocations: 20 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.02257, allocations: 12 kB / 281.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.02364, allocations: 367.8 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.02713, allocations: 1.317 MB / 283.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.02833, allocations: 0.4965 MB / 283.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.02929, allocations: 314.5 kB / 283.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/0.02936, allocations: 16.66 kB / 283.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.02942, allocations: 50.03 kB / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.976e-06/0.02942, allocations: 0 / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.007924/0.03735, allocations: 2.738 MB / 286.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.03742, allocations: 64.41 kB / 286.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.03793, allocations: 350.3 kB / 287.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.038, allocations: 45.7 kB / 287.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.03826, allocations: 264.3 kB / 287.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004836/0.03874, allocations: 400.7 kB / 287.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.03911, allocations: 184.3 kB / 288 MB, free: 1.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004312/0.03954, allocations: 0.5626 MB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.0402, allocations: 237.8 kB / 288.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.04099, allocations: 345.9 kB / 289.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09603/0.137, allocations: 0.6352 MB / 289.7 MB, free: 27.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.137, allocations: 0 / 289.7 MB, free: 27.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00123/0.1383, allocations: 0.7676 MB / 290.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1383, allocations: 9.188 kB / 290.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1383, allocations: 0.9375 kB / 290.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1383, allocations: 4.781 kB / 290.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.139, allocations: 196.3 kB / 290.7 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.139, allocations: 6.172 kB / 290.7 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1393, allocations: 25.28 kB / 290.7 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.1394, allocations: 32.14 kB / 290.8 MB, free: 27.48 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.0002059/0.1396, allocations: 242.3 kB / 291 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1397, allocations: 95.16 kB / 291.1 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.1399, allocations: 74.86 kB / 291.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1399, allocations: 12.48 kB / 291.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1399, allocations: 0 / 291.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.1399, allocations: 7.766 kB / 291.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.1424, allocations: 1.966 MB / 293.2 MB, free: 26.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.1424, allocations: 4.438 kB / 293.2 MB, free: 26.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.1432, allocations: 195.2 kB / 293.3 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.1432, allocations: 8.062 kB / 293.4 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.1432, allocations: 30.62 kB / 293.4 MB, free: 26.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.1432, allocations: 9.688 kB / 293.4 MB, free: 26.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.1432, allocations: 9.906 kB / 293.4 MB, free: 26.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.1449, allocations: 1.425 MB / 294.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.145, allocations: 51.92 kB / 294.9 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.145, allocations: 27.16 kB / 294.9 MB, free: 25.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.1454, allocations: 25.55 kB / 294.9 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.1455, allocations: 84 kB / 295 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.1455, allocations: 35.14 kB / 295 MB, free: 25.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1457, allocations: 240.1 kB / 295.3 MB, free: 25.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1457, allocations: 2.688 kB / 295.3 MB, free: 25.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004915/0.1462, allocations: 158.8 kB / 295.4 MB, free: 25.38 MB / 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.0001388/0.1463, allocations: 132.5 kB / 295.6 MB, free: 25.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.1474, allocations: 0.6917 MB / 296.3 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1474, allocations: 2.172 kB / 296.3 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.1479, allocations: 424.3 kB / 296.7 MB, free: 24.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.1488, allocations: 146.4 kB / 296.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1507, allocations: 1.499 MB / 298.3 MB, free: 23.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1509, allocations: 280.9 kB / 298.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.1512, allocations: 80.23 kB / 298.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1514, allocations: 66.33 kB / 298.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1514, allocations: 0 / 298.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of Templates: time 0.01168/0.1631, allocations: 7.095 MB / 305.8 MB, free: 20.13 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] 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.64984392398037]