Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 196.3 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 247.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 358.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 49.43 MB / 408.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005181/0.1275, allocations: 3.538 MB / 411.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1293, allocations: 0.8762 MB / 412.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.1295, allocations: 11.94 kB / 412.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1298, allocations: 87.09 kB / 412.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1301, allocations: 142.7 kB / 412.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1306, allocations: 151.7 kB / 412.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.1313, allocations: 0.5957 MB / 413.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1316, allocations: 189.5 kB / 413.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1319, allocations: 235.2 kB / 413.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1323, allocations: 274.8 kB / 414.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.1324, allocations: 56 kB / 414.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1325, allocations: 52 kB / 414.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1326, allocations: 119.6 kB / 414.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1329, allocations: 270.7 kB / 414.7 MB, free: 392 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.1336, allocations: 0.5913 MB / 415.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1336, allocations: 3.984 kB / 415.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.798e-06/0.1336, allocations: 4 kB / 415.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1336, allocations: 0 / 415.3 MB, free: 15.78 MB / 350.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.001727/0.1353, allocations: 0.857 MB / 416.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1354, allocations: 12.03 kB / 416.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1355, allocations: 56.61 kB / 416.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.136, allocations: 331.4 kB / 416.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.1361, allocations: 37.38 kB / 416.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.1362, allocations: 56.31 kB / 416.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/0.1371, allocations: 450.7 kB / 417 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.1372, allocations: 4 kB / 417 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.1372, allocations: 20 kB / 417.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1372, allocations: 12 kB / 417.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1383, allocations: 455.7 kB / 417.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1407, allocations: 1.382 MB / 418.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.1417, allocations: 0.5287 MB / 419.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.1426, allocations: 370.9 kB / 419.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.1427, allocations: 12.56 kB / 419.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.1427, allocations: 43.06 kB / 419.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.1427, allocations: 0 / 419.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.007675/0.1504, allocations: 3.16 MB / 423 MB, free: 7.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1505, allocations: 60.41 kB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1508, allocations: 255 kB / 423.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.1508, allocations: 41.7 kB / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.151, allocations: 197.6 kB / 423.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.1513, allocations: 368.8 kB / 423.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.1515, allocations: 146.7 kB / 424.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1517, allocations: 362.8 kB / 424.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.1523, allocations: 273.8 kB / 424.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.153, allocations: 361.2 kB / 425 MB, free: 5.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.1542, allocations: 0.6196 MB / 425.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1543, allocations: 0 / 425.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001571/0.1558, allocations: 0.7822 MB / 426.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1559, allocations: 4 kB / 426.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1559, allocations: 4.062 kB / 426.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.1559, allocations: 7.938 kB / 426.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/0.1568, allocations: 211.7 kB / 426.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1568, allocations: 4 kB / 426.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.1571, allocations: 47.95 kB / 426.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.1572, allocations: 28 kB / 426.7 MB, free: 3.984 MB / 350.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.0002653/0.1575, allocations: 201.7 kB / 426.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1576, allocations: 51.67 kB / 427 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1578, allocations: 77.33 kB / 427.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.1578, allocations: 12 kB / 427.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1578, allocations: 0 / 427.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.1578, allocations: 7.969 kB / 427.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.1611, allocations: 1.98 MB / 429.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.1612, allocations: 4 kB / 429.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.162, allocations: 207.7 kB / 429.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.162, allocations: 8 kB / 429.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.162, allocations: 27.92 kB / 429.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.1621, allocations: 12 kB / 429.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1621, allocations: 12.22 kB / 429.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2308/0.3929, allocations: 1.372 MB / 430.7 MB, free: 22.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.3931, allocations: 127.7 kB / 430.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3933, allocations: 27.33 kB / 430.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.3937, allocations: 47.8 kB / 430.9 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3939, allocations: 77.72 kB / 431 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.3939, allocations: 26.44 kB / 431 MB, free: 22.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3941, allocations: 180.6 kB / 431.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3941, allocations: 0.5 kB / 431.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005616/0.3946, allocations: 157.5 kB / 431.3 MB, free: 22.16 MB / 350.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.0001598/0.3948, allocations: 132.9 kB / 431.5 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3961, allocations: 0.7279 MB / 432.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3961, allocations: 3.625 kB / 432.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.3968, allocations: 451.2 kB / 432.6 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.3976, allocations: 119.3 kB / 432.7 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3998, allocations: 1.578 MB / 434.3 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4001, allocations: 0.8669 MB / 435.2 MB, free: 20.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.4003, allocations: 66.66 kB / 435.3 MB, free: 20.61 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4003, allocations: 0 / 435.3 MB, free: 20.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01387/0.4143, allocations: 7.342 MB / 442.6 MB, free: 19.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.929093832033686]