Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 83.89 kB / 21.19 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 141.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.024/1.024, allocations: 173.4 MB / 201.1 MB, free: 8.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 268 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.05e-05, allocations: 6.25 kB / 268 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005417/0.005447, allocations: 3.5 MB / 271.5 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.006875, allocations: 0.8801 MB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.007092, allocations: 11.94 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.007271, allocations: 79.17 kB / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.007498, allocations: 154.5 kB / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.007913, allocations: 155.6 kB / 272.7 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.008455, allocations: 0.6226 MB / 273.4 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.008681, allocations: 130 kB / 273.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.009092, allocations: 359.3 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.009321, allocations: 207.4 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.009392, allocations: 52.05 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.009454, allocations: 52 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.009525, allocations: 127.5 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.009668, allocations: 187.6 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.01007, allocations: 418.5 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01008, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01008, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.01009, allocations: 4 kB / 274.9 MB, free: 15.22 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009859/0.01107, allocations: 0.8504 MB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.01111, allocations: 8.922 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.01124, allocations: 96.56 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.01155, allocations: 275.2 kB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.01159, allocations: 37.38 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.01165, allocations: 48.38 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.01214, allocations: 351.7 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.01216, allocations: 12.12 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.01219, allocations: 20.31 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.0122, allocations: 15.94 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.01256, allocations: 233.8 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.01408, allocations: 1.137 MB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.01485, allocations: 398.9 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.01523, allocations: 242 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.01527, allocations: 16.64 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.01529, allocations: 46.05 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 3.196e-06/0.0153, allocations: 0 / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003089/0.01839, allocations: 2.209 MB / 280.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.01842, allocations: 64.41 kB / 280.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01861, allocations: 280.3 kB / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.01864, allocations: 41.7 kB / 281.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.01875, allocations: 252.2 kB / 281.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.01893, allocations: 364.8 kB / 281.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.01907, allocations: 144.3 kB / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01922, allocations: 0.5391 MB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.01944, allocations: 145.9 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.0197, allocations: 221.9 kB / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.02018, allocations: 402.9 kB / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.02018, allocations: 0 / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006501/0.02083, allocations: 0.5714 MB / 283.8 MB, free: 5.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.02085, allocations: 4 kB / 283.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.02086, allocations: 3.984 kB / 283.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.02088, allocations: 8.062 kB / 283.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.02131, allocations: 203.7 kB / 284 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.02132, allocations: 7.984 kB / 284 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.02145, allocations: 35.92 kB / 284.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.02148, allocations: 24 kB / 284.1 MB, free: 5.707 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 (113): * Single equations (assignments): 113 * 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.0001472/0.02163, allocations: 204.4 kB / 284.3 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.02171, allocations: 87.67 kB / 284.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-05/0.0218, allocations: 73.36 kB / 284.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.02181, allocations: 12 kB / 284.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.02182, allocations: 0 / 284.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.02183, allocations: 15.97 kB / 284.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.0237, allocations: 1.584 MB / 286.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.0237, allocations: 4 kB / 286.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.02412, allocations: 195.7 kB / 286.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.02413, allocations: 8 kB / 286.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.02416, allocations: 24 kB / 286.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.02417, allocations: 11.98 kB / 286.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.02418, allocations: 12.41 kB / 286.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.02521, allocations: 1.094 MB / 287.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.02525, allocations: 51.67 kB / 287.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.0253, allocations: 27.98 kB / 287.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.02546, allocations: 31.98 kB / 287.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.02555, allocations: 80.75 kB / 287.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.02558, allocations: 35.98 kB / 287.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.02568, allocations: 197.1 kB / 287.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02568, allocations: 0 / 287.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.02602, allocations: 152 kB / 288 MB, free: 1.594 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 (103): * Single equations (assignments): 103 * 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.0001243/0.02614, allocations: 135 kB / 288.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.02674, allocations: 0.4942 MB / 288.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02675, allocations: 0 / 288.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.02706, allocations: 319.3 kB / 288.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.02756, allocations: 136.3 kB / 289 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/0.1291, allocations: 1.351 MB / 290.4 MB, free: 29.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.1293, allocations: 141.5 kB / 290.5 MB, free: 29.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.1296, allocations: 76.66 kB / 290.6 MB, free: 29.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1297, allocations: 58.59 kB / 290.7 MB, free: 29.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1297, allocations: 0 / 290.7 MB, free: 29.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01054/0.1402, allocations: 6.597 MB / 297.3 MB, free: 28.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.090081245172769]