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.001921/0.001921, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002483/0.002483, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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 1.479/1.479, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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 1.212e-06/1.212e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.716e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005423/0.005451, allocations: 3.332 MB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.007533, allocations: 0.9197 MB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.007737, allocations: 15.88 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.007959, allocations: 83.16 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.008307, allocations: 170.5 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.00878, allocations: 171.5 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.009525, allocations: 0.6537 MB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.009793, allocations: 130 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.01033, allocations: 379.2 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.01067, allocations: 207.4 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.01075, allocations: 59.92 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.01088, allocations: 56 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.011, allocations: 119.6 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.01124, allocations: 199.5 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.01201, allocations: 0.6424 MB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.01202, allocations: 3.984 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01202, allocations: 4 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.01203, allocations: 0 / 279.3 MB, free: 10.65 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.001574/0.0136, allocations: 0.7698 MB / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.01364, allocations: 12.03 kB / 280.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.01392, allocations: 104.5 kB / 280.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.01445, allocations: 297.4 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.01449, allocations: 37.38 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.01459, allocations: 55.89 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.01542, allocations: 414.4 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.01545, allocations: 3.984 kB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.0155, allocations: 20 kB / 281 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01551, allocations: 12 kB / 281 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.01628, allocations: 383.8 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.01869, allocations: 1.173 MB / 282.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.01954, allocations: 487.9 kB / 283 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.02023, allocations: 314.5 kB / 283.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.02029, allocations: 16.66 kB / 283.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.02033, allocations: 47.22 kB / 283.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.683e-06/0.02033, allocations: 0 / 283.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.00698/0.02731, allocations: 2.893 MB / 286.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.02737, allocations: 64.41 kB / 286.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.0277, allocations: 264.2 kB / 286.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.02775, allocations: 45.7 kB / 286.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.02793, allocations: 209.5 kB / 286.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.02827, allocations: 372.7 kB / 287.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.0285, allocations: 150.6 kB / 287.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.02873, allocations: 370.7 kB / 287.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.0292, allocations: 237.9 kB / 288 MB, free: 1.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.02973, allocations: 313.4 kB / 288.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.03079, allocations: 0.5766 MB / 288.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.0308, allocations: 4 kB / 288.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001364/0.03216, allocations: 0.7667 MB / 289.6 MB, free: 84 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.03218, allocations: 7.938 kB / 289.6 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.03219, allocations: 0 / 289.6 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.03222, allocations: 4 kB / 289.6 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1118/0.144, allocations: 196.8 kB / 289.8 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.1441, allocations: 5.969 kB / 289.8 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.1445, allocations: 30.61 kB / 289.9 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.1446, allocations: 29.14 kB / 289.9 MB, free: 28.4 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.0002741/0.1448, allocations: 199.1 kB / 290.1 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.145, allocations: 95.22 kB / 290.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1452, allocations: 81.81 kB / 290.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.1452, allocations: 11.48 kB / 290.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1452, allocations: 1.094 kB / 290.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1452, allocations: 4.828 kB / 290.3 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.1478, allocations: 1.725 MB / 292 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.1478, allocations: 5.953 kB / 292 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.1486, allocations: 193.8 kB / 292.2 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.1486, allocations: 12.34 kB / 292.2 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.1487, allocations: 25.66 kB / 292.2 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.1487, allocations: 13.8 kB / 292.2 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.1487, allocations: 5.688 kB / 292.2 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.1505, allocations: 1.313 MB / 293.6 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.1505, allocations: 64.89 kB / 293.6 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.1506, allocations: 23.66 kB / 293.6 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.151, allocations: 29.67 kB / 293.7 MB, free: 26.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1511, allocations: 84.02 kB / 293.8 MB, free: 26.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.1512, allocations: 35.31 kB / 293.8 MB, free: 26.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1513, allocations: 188.5 kB / 294 MB, free: 26.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1513, allocations: 0 / 294 MB, free: 26.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005412/0.1519, allocations: 158.2 kB / 294.1 MB, free: 26.74 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.0001515/0.152, allocations: 133.8 kB / 294.3 MB, free: 26.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1531, allocations: 0.6338 MB / 294.9 MB, free: 26.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1531, allocations: 4.984 kB / 294.9 MB, free: 26.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.1536, allocations: 385.9 kB / 295.3 MB, free: 26.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.1545, allocations: 155.8 kB / 295.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1565, allocations: 1.417 MB / 296.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1568, allocations: 276.4 kB / 297.1 MB, free: 25.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.1572, allocations: 81.7 kB / 297.2 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1573, allocations: 63.02 kB / 297.3 MB, free: 25.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1573, allocations: 1.594 kB / 297.3 MB, free: 25.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01229/0.1696, allocations: 7.088 MB / 304.3 MB, free: 22.3 MB / 266.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.549190626014024]