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.001562/0.001562, allocations: 75.75 kB / 21.25 MB, free: 0.5352 MB / 14.72 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.001478/0.001478, allocations: 162 kB / 24.5 MB, free: 3.707 MB / 14.72 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.425/1.425, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 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 0.001932/0.001932, allocations: 60.94 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09782, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005158/0.103, allocations: 3.328 MB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.105, allocations: 0.9237 MB / 383.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1052, allocations: 11.94 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1054, allocations: 87.09 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1057, allocations: 158.6 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1062, allocations: 175.7 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.1069, allocations: 0.6189 MB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1072, allocations: 142 kB / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1076, allocations: 255.1 kB / 384.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.108, allocations: 250.8 kB / 384.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.108, allocations: 48 kB / 384.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1082, allocations: 56 kB / 384.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1083, allocations: 127.6 kB / 385.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1086, allocations: 239 kB / 385.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.1093, allocations: 0.634 MB / 385.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1093, allocations: 0 / 385.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1093, allocations: 0 / 385.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1093, allocations: 0 / 385.9 MB, free: 8.406 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001592/0.1109, allocations: 0.7698 MB / 386.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.111, allocations: 19.97 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.1113, allocations: 68.56 kB / 386.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1119, allocations: 293.7 kB / 387.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.112, allocations: 37 kB / 387.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1121, allocations: 47.95 kB / 387.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.1129, allocations: 422.4 kB / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1129, allocations: 0 / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.113, allocations: 20 kB / 387.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.113, allocations: 16 kB / 387.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.1137, allocations: 383.8 kB / 388 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1161, allocations: 1.177 MB / 389.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.1169, allocations: 472.1 kB / 389.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.1175, allocations: 316.3 kB / 389.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.1176, allocations: 12.64 kB / 389.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1176, allocations: 35.22 kB / 390 MB, free: 4.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.034e-06/0.1176, allocations: 4 kB / 390 MB, free: 4.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006563/0.1242, allocations: 2.877 MB / 392.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1242, allocations: 64.41 kB / 392.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1245, allocations: 264.2 kB / 393.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.1246, allocations: 37.7 kB / 393.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1247, allocations: 209.5 kB / 393.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.125, allocations: 384.7 kB / 393.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.1253, allocations: 150.7 kB / 393.9 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1255, allocations: 362.8 kB / 394.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.1259, allocations: 237.9 kB / 394.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.1265, allocations: 321.4 kB / 394.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1275, allocations: 0.5766 MB / 395.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1275, allocations: 0 / 395.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001234/0.1287, allocations: 0.7393 MB / 396.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1287, allocations: 8 kB / 396.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1287, allocations: 0 / 396.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1287, allocations: 8.062 kB / 396.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.1295, allocations: 191.7 kB / 396.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.1295, allocations: 8 kB / 396.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.1298, allocations: 27.98 kB / 396.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.1299, allocations: 35.98 kB / 396.4 MB, free: 13.66 MB / 366.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 (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.0002586/0.1301, allocations: 201.6 kB / 396.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1302, allocations: 59.61 kB / 396.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.1304, allocations: 77.55 kB / 396.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1304, allocations: 16 kB / 396.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1304, allocations: 0 / 396.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.1304, allocations: 3.984 kB / 396.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.1332, allocations: 1.716 MB / 398.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.1333, allocations: 8 kB / 398.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.134, allocations: 195.7 kB / 398.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.134, allocations: 8 kB / 398.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.1341, allocations: 27.98 kB / 398.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.1341, allocations: 11.94 kB / 398.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1341, allocations: 4.469 kB / 398.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1361, allocations: 1.299 MB / 400 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.1361, allocations: 55.56 kB / 400.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.1362, allocations: 35.98 kB / 400.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.1366, allocations: 27.98 kB / 400.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1367, allocations: 80.75 kB / 400.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.1367, allocations: 31.98 kB / 400.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1369, allocations: 195.1 kB / 400.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1369, allocations: 3.938 kB / 400.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.1374, allocations: 160 kB / 400.6 MB, free: 9.285 MB / 366.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 (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.0001572/0.1376, allocations: 131 kB / 400.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1387, allocations: 0.6254 MB / 401.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1387, allocations: 0 / 401.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.1393, allocations: 389.6 kB / 401.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.1401, allocations: 150.7 kB / 401.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1425, allocations: 1.54 MB / 403.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1428, allocations: 280.9 kB / 403.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.1431, allocations: 81.2 kB / 403.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.1433, allocations: 60.48 kB / 403.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1433, allocations: 0 / 403.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01402/0.1573, allocations: 7.105 MB / 411 MB, free: 14.95 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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.485952874994837]