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.0008787/0.0008787, allocations: 76.06 kB / 21.69 MB, free: 2.859 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.0008048/0.0008048, allocations: 142.9 kB / 24.97 MB, free: 9.254 MB / 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 0.9287/0.9287, allocations: 173.4 MB / 201.5 MB, free: 9.332 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.393e-06/1.393e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.704e-05, allocations: 6.25 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003345/0.003372, allocations: 3.493 MB / 271.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004745, allocations: 0.8723 MB / 272.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.004937, allocations: 11.94 kB / 272.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.005108, allocations: 87.09 kB / 272.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.005341, allocations: 158.5 kB / 272.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.005746, allocations: 155.7 kB / 272.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.006239, allocations: 0.6148 MB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.006485, allocations: 134 kB / 273.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.006862, allocations: 355.3 kB / 273.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.00708, allocations: 215.4 kB / 274.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.00714, allocations: 52 kB / 274.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-05/0.007193, allocations: 55.94 kB / 274.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.007266, allocations: 119.6 kB / 274.4 MB, free: 412 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.007402, allocations: 187.6 kB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.007958, allocations: 418.5 kB / 275 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.007963, allocations: 0 / 275 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007964, allocations: 0 / 275 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.007973, allocations: 0 / 275 MB, free: 15.81 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.0009444/0.008918, allocations: 0.8466 MB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.00896, allocations: 12.86 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.009083, allocations: 96.56 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.009438, allocations: 275.2 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.009477, allocations: 37.38 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.009542, allocations: 52.31 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.01007, allocations: 347.7 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.01009, allocations: 8.141 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.01012, allocations: 20.38 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01014, allocations: 15.94 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.01051, allocations: 237.8 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.01199, allocations: 1.137 MB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.01245, allocations: 391 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.0128, allocations: 254 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.01283, allocations: 12.66 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01286, allocations: 42.05 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.984e-06/0.01286, allocations: 0 / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.002913/0.01577, allocations: 2.206 MB / 280.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.01581, allocations: 64.41 kB / 281 MB, free: 9.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.01599, allocations: 288.3 kB / 281.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.01602, allocations: 37.7 kB / 281.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01614, allocations: 248.2 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.01644, allocations: 368.8 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.01658, allocations: 148.3 kB / 282 MB, free: 8.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01672, allocations: 0.5352 MB / 282.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.01694, allocations: 137.9 kB / 282.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.01722, allocations: 233.9 kB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.01772, allocations: 395 kB / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01772, allocations: 0 / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0007354/0.01845, allocations: 0.5753 MB / 283.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.01848, allocations: 6.969 kB / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.01849, allocations: 3.938 kB / 283.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.01851, allocations: 8 kB / 283.9 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.01897, allocations: 199.7 kB / 284.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01898, allocations: 8.062 kB / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.01914, allocations: 39.92 kB / 284.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.01917, allocations: 23.98 kB / 284.2 MB, free: 6.297 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.0001542/0.01933, allocations: 204.4 kB / 284.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.01941, allocations: 87.67 kB / 284.5 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.459e-05/0.01951, allocations: 73.36 kB / 284.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.01952, allocations: 12 kB / 284.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.01953, allocations: 4 kB / 284.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.01953, allocations: 3.984 kB / 284.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.02121, allocations: 1.588 MB / 286.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.02121, allocations: 4 kB / 286.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.02165, allocations: 199.7 kB / 286.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.02166, allocations: 8 kB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.02169, allocations: 23.98 kB / 286.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.0217, allocations: 11.94 kB / 286.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.02171, allocations: 8 kB / 286.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.02276, allocations: 1.098 MB / 287.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.02281, allocations: 51.66 kB / 287.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.02286, allocations: 27.94 kB / 287.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.02303, allocations: 31.98 kB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.02313, allocations: 80.75 kB / 287.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.02316, allocations: 35.98 kB / 287.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.02326, allocations: 193.1 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02326, allocations: 0 / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.0236, allocations: 156 kB / 288 MB, free: 2.184 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.0001284/0.02373, allocations: 141 kB / 288.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.02433, allocations: 0.4942 MB / 288.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02433, allocations: 3.938 kB / 288.7 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.02487, allocations: 312.3 kB / 289 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.02538, allocations: 136.4 kB / 289.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09212/0.1175, allocations: 1.362 MB / 290.5 MB, free: 32.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1176, allocations: 141.3 kB / 290.6 MB, free: 32.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.1179, allocations: 74.12 kB / 290.7 MB, free: 32.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1181, allocations: 57.77 kB / 290.8 MB, free: 32.36 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1181, allocations: 0 / 290.8 MB, free: 32.36 MB / 266.7 MB Notification: Performance of Templates: time 0.009851/0.1279, allocations: 6.594 MB / 297.3 MB, free: 31 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: 2.7678645870182663]