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.0008556/0.0008556, allocations: 88.05 kB / 21.43 MB, free: 3.102 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.0008916/0.0008916, allocations: 147.4 kB / 24.69 MB, free: 8.895 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.852/0.852, allocations: 173.4 MB / 201.2 MB, free: 9.441 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.593e-06/1.593e-06, allocations: 0 / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.353e-05, allocations: 5.656 kB / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003284/0.003318, allocations: 3.228 MB / 322.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004482, allocations: 0.8489 MB / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.00463, allocations: 11.94 kB / 323.8 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.004792, allocations: 79.17 kB / 323.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004971, allocations: 158.6 kB / 324 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.005308, allocations: 163.6 kB / 324.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.005711, allocations: 0.6226 MB / 324.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.005922, allocations: 133.9 kB / 324.9 MB, free: 464 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.006193, allocations: 359.3 kB / 325.3 MB, free: 104 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.006388, allocations: 207.4 kB / 325.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.006444, allocations: 52 kB / 325.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.006487, allocations: 48 kB / 325.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.006551, allocations: 119.6 kB / 325.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.006668, allocations: 191.6 kB / 325.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.007399, allocations: 0.623 MB / 326.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.007403, allocations: 0 / 326.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.007405, allocations: 0 / 326.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.007412, allocations: 0 / 326.5 MB, free: 14.87 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009459/0.008358, allocations: 0.781 MB / 327.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.008397, allocations: 8.922 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.008469, allocations: 60.56 kB / 327.3 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.008812, allocations: 268.4 kB / 327.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.008849, allocations: 41.38 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.008904, allocations: 48.38 kB / 327.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.00945, allocations: 446.9 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.00947, allocations: 8.141 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.0095, allocations: 20.38 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.009509, allocations: 15.88 kB / 328.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.0101, allocations: 455.7 kB / 328.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01155, allocations: 1.153 MB / 329.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.01214, allocations: 0.5063 MB / 330.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.01261, allocations: 344 kB / 330.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.01265, allocations: 8.656 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.01267, allocations: 43.16 kB / 330.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.01267, allocations: 0 / 330.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.004531/0.0172, allocations: 3.005 MB / 333.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.01725, allocations: 64.41 kB / 333.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.01742, allocations: 241.9 kB / 334 MB, free: 7.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.01745, allocations: 41.7 kB / 334 MB, free: 7.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.01755, allocations: 197.5 kB / 334.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.0177, allocations: 360.8 kB / 334.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01784, allocations: 154.6 kB / 334.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01794, allocations: 362.7 kB / 335 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.01828, allocations: 273.8 kB / 335.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.01868, allocations: 353.4 kB / 335.7 MB, free: 5.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.01941, allocations: 0.6156 MB / 336.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01941, allocations: 3.938 kB / 336.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008724/0.02029, allocations: 0.7862 MB / 337.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.02031, allocations: 4 kB / 337.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02032, allocations: 0 / 337.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.02034, allocations: 8 kB / 337.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.02076, allocations: 207.8 kB / 337.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.02077, allocations: 4 kB / 337.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.02093, allocations: 51.89 kB / 337.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.02096, allocations: 28 kB / 337.4 MB, free: 3.746 MB / 298.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.0001915/0.02115, allocations: 197.6 kB / 337.6 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.02122, allocations: 55.67 kB / 337.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.02132, allocations: 69.31 kB / 337.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.02133, allocations: 19.98 kB / 337.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.02134, allocations: 0 / 337.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.02135, allocations: 3.984 kB / 337.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.02325, allocations: 1.755 MB / 339.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.02325, allocations: 4.062 kB / 339.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.02366, allocations: 215.7 kB / 339.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.02367, allocations: 8 kB / 339.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.0237, allocations: 27.98 kB / 339.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.02371, allocations: 11.94 kB / 339.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.02371, allocations: 4 kB / 339.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.02537, allocations: 1.373 MB / 341.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.02541, allocations: 47.67 kB / 341.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.02546, allocations: 36.03 kB / 341.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.02564, allocations: 43.97 kB / 341.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.02574, allocations: 76.75 kB / 341.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.02576, allocations: 35.98 kB / 341.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.02587, allocations: 165.2 kB / 341.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02587, allocations: 0 / 341.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00033/0.0262, allocations: 156 kB / 341.6 MB, free: 15.28 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 (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.0001362/0.02633, allocations: 131 kB / 341.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.02716, allocations: 0.6956 MB / 342.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02716, allocations: 128 / 342.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.0276, allocations: 413.4 kB / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.02808, allocations: 135.1 kB / 343 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02961, allocations: 1.424 MB / 344.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.02978, allocations: 264.3 kB / 344.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.02992, allocations: 76.45 kB / 344.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02993, allocations: 3.938 kB / 344.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Templates: time 0.00702/0.03695, allocations: 7.539 MB / 352.3 MB, free: 4.496 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.346824221313]