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.00101/0.00101, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001186/0.001186, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 1.153e-06/1.153e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.323e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002995/0.003008, allocations: 3.554 MB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004297, allocations: 0.9739 MB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.004441, allocations: 15.88 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.004605, allocations: 87.09 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.00483, allocations: 178.4 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.005192, allocations: 175.6 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.005657, allocations: 0.642 MB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.005863, allocations: 142.6 kB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.0062, allocations: 375.2 kB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.006405, allocations: 215.4 kB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.006457, allocations: 52 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.006531, allocations: 52 kB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.006601, allocations: 135.5 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.006724, allocations: 191.6 kB / 280.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007052, allocations: 438.3 kB / 280.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007054, allocations: 0 / 280.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007055, allocations: 4 kB / 280.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.00706, allocations: 0 / 280.6 MB, free: 10.08 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.0007639/0.007823, allocations: 0.7527 MB / 281.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.007851, allocations: 8.031 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.007984, allocations: 84.88 kB / 281.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.008228, allocations: 249.5 kB / 281.7 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.008258, allocations: 37.38 kB / 281.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.00831, allocations: 55.89 kB / 281.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.008598, allocations: 311.1 kB / 282.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.008614, allocations: 0 / 282.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.008638, allocations: 20 kB / 282.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.008648, allocations: 12 kB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.008834, allocations: 158.8 kB / 282.3 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.009917, allocations: 0.8611 MB / 283.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.01021, allocations: 329.7 kB / 283.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.01044, allocations: 208 kB / 283.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.01048, allocations: 16.66 kB / 283.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.0105, allocations: 35.22 kB / 283.7 MB, free: 6.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.804e-06/0.0105, allocations: 8 kB / 283.7 MB, free: 6.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002605/0.01311, allocations: 2.194 MB / 285.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01314, allocations: 68.41 kB / 286 MB, free: 4.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01328, allocations: 250.9 kB / 286.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.0133, allocations: 41.7 kB / 286.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.01337, allocations: 182.2 kB / 286.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.01354, allocations: 388.5 kB / 286.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.01366, allocations: 150.6 kB / 287 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01376, allocations: 366.7 kB / 287.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.01386, allocations: 89.95 kB / 287.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.014, allocations: 169.4 kB / 287.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.01428, allocations: 350.2 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01428, allocations: 0 / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0003473/0.01463, allocations: 399.4 kB / 288.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01464, allocations: 9.875 kB / 288.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01465, allocations: 3.938 kB / 288.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01466, allocations: 4 kB / 288.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.01502, allocations: 195.7 kB / 288.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01502, allocations: 8 kB / 288.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.01513, allocations: 24 kB / 288.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.01515, allocations: 23.98 kB / 288.6 MB, free: 1.887 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.000115/0.01527, allocations: 157.6 kB / 288.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.01533, allocations: 76 kB / 288.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.0154, allocations: 81.5 kB / 288.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.01541, allocations: 12 kB / 288.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01541, allocations: 3.984 kB / 288.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.01542, allocations: 3.984 kB / 288.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.0165, allocations: 1.164 MB / 290.1 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.01651, allocations: 7.984 kB / 290.1 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.01687, allocations: 191.7 kB / 290.3 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01687, allocations: 8 kB / 290.3 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.0169, allocations: 28.59 kB / 290.3 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.0169, allocations: 15.98 kB / 290.3 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.01691, allocations: 11.88 kB / 290.3 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1/0.117, allocations: 0.7893 MB / 291.1 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.117, allocations: 50.62 kB / 291.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.1171, allocations: 25.61 kB / 291.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.1174, allocations: 25.88 kB / 291.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1175, allocations: 84.58 kB / 291.3 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.1175, allocations: 27.34 kB / 291.3 MB, free: 25.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.1176, allocations: 96.78 kB / 291.4 MB, free: 25.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 0.5312 kB / 291.4 MB, free: 25.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.1181, allocations: 157.5 kB / 291.6 MB, free: 25.68 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.0001218/0.1182, allocations: 118.1 kB / 291.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.1187, allocations: 417.7 kB / 292.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.1188, allocations: 3.312 kB / 292.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.1191, allocations: 276.8 kB / 292.4 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1197, allocations: 137.2 kB / 292.5 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1213, allocations: 1.23 MB / 293.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1214, allocations: 144 kB / 293.9 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.1217, allocations: 86.44 kB / 294 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.122, allocations: 190.4 kB / 294.2 MB, free: 24.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.122, allocations: 2.531 kB / 294.2 MB, free: 24.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01196/0.134, allocations: 7.795 MB / 302 MB, free: 22.75 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.960677527356893]