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.0008171/0.0008171, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004271/0.004271, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 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 0.8621/0.8621, allocations: 177 MB / 204.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.863e-06/1.863e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.85e-05, allocations: 6.219 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00298/0.003009, allocations: 3.33 MB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004068, allocations: 0.9314 MB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004202, allocations: 15.88 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004349, allocations: 83.16 kB / 330.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.004537, allocations: 174.5 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.004867, allocations: 171.5 kB / 330.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.005255, allocations: 0.642 MB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.005446, allocations: 137.9 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.005754, allocations: 367.3 kB / 331.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.005944, allocations: 219.3 kB / 331.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.005994, allocations: 52 kB / 331.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.006067, allocations: 60 kB / 331.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.006125, allocations: 123.5 kB / 332 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.006238, allocations: 191.6 kB / 332.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.006673, allocations: 0.6463 MB / 332.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006676, allocations: 0 / 332.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006677, allocations: 0 / 332.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.006683, allocations: 0 / 332.9 MB, free: 8.234 MB / 298.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.0008077/0.00749, allocations: 0.7737 MB / 333.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.00752, allocations: 12.03 kB / 333.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.007638, allocations: 72.55 kB / 333.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.00793, allocations: 281.4 kB / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.007955, allocations: 33.38 kB / 334 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.008007, allocations: 55.89 kB / 334.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.008442, allocations: 426.4 kB / 334.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.008458, allocations: 0 / 334.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.008485, allocations: 20 kB / 334.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.008492, allocations: 12 kB / 334.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.008927, allocations: 383.8 kB / 334.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.01025, allocations: 1.169 MB / 336.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.01073, allocations: 476.2 kB / 336.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.01111, allocations: 325 kB / 336.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.01114, allocations: 8.656 kB / 336.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01116, allocations: 51.16 kB / 336.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.413e-06/0.01116, allocations: 3.938 kB / 336.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.003686/0.01485, allocations: 2.858 MB / 339.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.01489, allocations: 64.41 kB / 339.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01506, allocations: 268.2 kB / 340.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.01509, allocations: 45.7 kB / 340.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.01518, allocations: 205.6 kB / 340.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.01534, allocations: 376.7 kB / 340.7 MB, free: 168 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.01547, allocations: 150.6 kB / 340.9 MB, free: 12 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01558, allocations: 366.8 kB / 341.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.01585, allocations: 237.9 kB / 341.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.01616, allocations: 317.4 kB / 341.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.01676, allocations: 0.5727 MB / 342.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01676, allocations: 0 / 342.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000726/0.01749, allocations: 0.7316 MB / 343.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01751, allocations: 15.22 kB / 343.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01751, allocations: 3.938 kB / 343.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01752, allocations: 4 kB / 343.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.01789, allocations: 199.7 kB / 343.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.0179, allocations: 4 kB / 343.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01802, allocations: 27.98 kB / 343.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.01805, allocations: 31.98 kB / 343.4 MB, free: 13.5 MB / 314.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.0001582/0.01821, allocations: 205.6 kB / 343.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.01826, allocations: 63.62 kB / 343.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.01835, allocations: 81.5 kB / 343.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01835, allocations: 8 kB / 343.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01836, allocations: 0 / 343.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.01837, allocations: 3.984 kB / 343.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.02, allocations: 1.719 MB / 345.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.02001, allocations: 4 kB / 345.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.02037, allocations: 192.3 kB / 345.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.02038, allocations: 8 kB / 345.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.02041, allocations: 31.98 kB / 345.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.02041, allocations: 15.88 kB / 345.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.02042, allocations: 4 kB / 345.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.02154, allocations: 1.279 MB / 347 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.02158, allocations: 47.67 kB / 347 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.02164, allocations: 35.98 kB / 347 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.02181, allocations: 39.91 kB / 347.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.02189, allocations: 80.88 kB / 347.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.02192, allocations: 36 kB / 347.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.02202, allocations: 187.1 kB / 347.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02202, allocations: 4 kB / 347.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.02231, allocations: 159.9 kB / 347.5 MB, free: 9.137 MB / 314.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.0001213/0.02243, allocations: 131 kB / 347.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.02336, allocations: 0.6333 MB / 348.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.02337, allocations: 7.938 kB / 348.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.02395, allocations: 382.8 kB / 348.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.02473, allocations: 132.6 kB / 348.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.02615, allocations: 1.44 MB / 350.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.02634, allocations: 288.8 kB / 350.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.02649, allocations: 64.48 kB / 350.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02649, allocations: 4 kB / 350.6 MB, free: 5.945 MB / 314.7 MB Notification: Performance of Templates: time 0.006403/0.03289, allocations: 7.912 MB / 358.5 MB, free: 14.04 MB / 330.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=480 -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/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.700679481960833]