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.001318/0.001318, allocations: 73.17 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001424/0.001424, allocations: 158.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00161/0.00161, allocations: 55.94 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1013, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.006243/0.1075, allocations: 3.325 MB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1101, allocations: 0.9238 MB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1104, allocations: 11.94 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1107, allocations: 87.09 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1112, allocations: 170.5 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.1119, allocations: 167.6 kB / 383.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.1129, allocations: 0.6228 MB / 384.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.1133, allocations: 137.9 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.1139, allocations: 259.1 kB / 384.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.1144, allocations: 246.8 kB / 384.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.1145, allocations: 52 kB / 384.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1147, allocations: 60 kB / 384.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1149, allocations: 127.5 kB / 385.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1152, allocations: 234.9 kB / 385.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1163, allocations: 0.634 MB / 385.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1163, allocations: 3.984 kB / 385.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1164, allocations: 0 / 385.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1164, allocations: 0 / 385.9 MB, free: 8.594 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.002221/0.1186, allocations: 0.7698 MB / 386.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1186, allocations: 12.03 kB / 386.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.1189, allocations: 72.55 kB / 386.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.1197, allocations: 289.7 kB / 387.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.1198, allocations: 37 kB / 387.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1199, allocations: 51.95 kB / 387.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1211, allocations: 414.4 kB / 387.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.1211, allocations: 7.984 kB / 387.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.1212, allocations: 24 kB / 387.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.1212, allocations: 12 kB / 387.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.1224, allocations: 375.8 kB / 388 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.1259, allocations: 1.185 MB / 389.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1272, allocations: 472.7 kB / 389.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.1282, allocations: 308.1 kB / 389.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.1283, allocations: 8.656 kB / 389.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.1283, allocations: 43.16 kB / 390 MB, free: 4.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.927e-06/0.1283, allocations: 0 / 390 MB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.01256/0.1409, allocations: 2.885 MB / 392.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.141, allocations: 60.41 kB / 392.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.1415, allocations: 260.2 kB / 393.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.1416, allocations: 41.7 kB / 393.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.1419, allocations: 213.5 kB / 393.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.1424, allocations: 384.7 kB / 393.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.1428, allocations: 146.7 kB / 393.9 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003196/0.1431, allocations: 358.8 kB / 394.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008831/0.144, allocations: 245.9 kB / 394.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.145, allocations: 321.4 kB / 394.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.1469, allocations: 0.5689 MB / 395.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1469, allocations: 0 / 395.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002354/0.1492, allocations: 0.7393 MB / 396.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1493, allocations: 7.938 kB / 396.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1493, allocations: 8.062 kB / 396.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.1493, allocations: 4 kB / 396.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.1508, allocations: 195.7 kB / 396.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.1508, allocations: 4 kB / 396.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.1514, allocations: 31.98 kB / 396.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.1515, allocations: 31.98 kB / 396.4 MB, free: 13.85 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.000412/0.1519, allocations: 201.6 kB / 396.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.1521, allocations: 59.61 kB / 396.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1523, allocations: 77.56 kB / 396.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.1524, allocations: 12 kB / 396.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1524, allocations: 0 / 396.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.1524, allocations: 3.984 kB / 396.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.1576, allocations: 1.723 MB / 398.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.1576, allocations: 4 kB / 398.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.1592, allocations: 199.7 kB / 398.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.1592, allocations: 8 kB / 398.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.1593, allocations: 23.98 kB / 398.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.1593, allocations: 16.53 kB / 398.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.1593, allocations: 8 kB / 398.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.1627, allocations: 1.295 MB / 400 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.1629, allocations: 55.56 kB / 400.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.163, allocations: 24.06 kB / 400.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.1637, allocations: 36.11 kB / 400.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.164, allocations: 84.73 kB / 400.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/0.164, allocations: 32 kB / 400.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003245/0.1644, allocations: 191.1 kB / 400.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1644, allocations: 0 / 400.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009996/0.1654, allocations: 160 kB / 400.6 MB, free: 9.48 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.0002628/0.1656, allocations: 135 kB / 400.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.1677, allocations: 0.6254 MB / 401.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1677, allocations: 4.125 kB / 401.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.169, allocations: 389.4 kB / 401.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.1705, allocations: 140.7 kB / 401.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.1751, allocations: 1.532 MB / 403.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1756, allocations: 284.9 kB / 403.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005945/0.1762, allocations: 81.2 kB / 403.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.1765, allocations: 60.48 kB / 403.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1765, allocations: 0 / 403.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of Templates: time 0.0281/0.2046, allocations: 7.123 MB / 411 MB, free: 15.13 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.535561750060879]