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.0008595/0.0008595, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008494/0.0008494, allocations: 141.8 kB / 24.89 MB, free: 8.777 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.9283/0.9283, allocations: 173.4 MB / 201.5 MB, free: 8.773 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 2.094e-06/2.094e-06, allocations: 0 / 268.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.733e-05, allocations: 6.109 kB / 268.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003827/0.003855, allocations: 3.452 MB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.005292, allocations: 0.9031 MB / 272.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.005514, allocations: 11.94 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.005664, allocations: 79.17 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.005912, allocations: 154.5 kB / 273.1 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.006246, allocations: 159.6 kB / 273.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.00667, allocations: 0.6148 MB / 273.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.006847, allocations: 138.6 kB / 274 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.007181, allocations: 359.3 kB / 274.3 MB, free: 148 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.007385, allocations: 211.4 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.007441, allocations: 52 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.00749, allocations: 48 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.007556, allocations: 123.5 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.007686, allocations: 191.6 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.008005, allocations: 422.5 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.008008, allocations: 0 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.008012, allocations: 0 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.008019, allocations: 0 / 275.3 MB, free: 15.12 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.0007878/0.008807, allocations: 0.7257 MB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.008839, allocations: 12.92 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.008924, allocations: 76.88 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.009191, allocations: 224.5 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.009222, allocations: 33.38 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.009279, allocations: 60.3 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.009621, allocations: 323.6 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.009635, allocations: 192 / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.009658, allocations: 20.38 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.009667, allocations: 15.94 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.009857, allocations: 158.8 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01095, allocations: 0.8535 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.01125, allocations: 326.9 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.01148, allocations: 211.1 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.01151, allocations: 16.66 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.01153, allocations: 43.2 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.462e-06/0.01153, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.002619/0.01415, allocations: 2.173 MB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.01419, allocations: 68.34 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01431, allocations: 229 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.01434, allocations: 41.7 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.0144, allocations: 181.9 kB / 281.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.01457, allocations: 364.7 kB / 281.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.01468, allocations: 146.6 kB / 281.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.01478, allocations: 370.6 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01488, allocations: 89.95 kB / 282 MB, free: 8.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.01502, allocations: 173.4 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.01531, allocations: 338.2 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01531, allocations: 0 / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0003567/0.01567, allocations: 391.4 kB / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01568, allocations: 4 kB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01569, allocations: 8 kB / 282.9 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.0157, allocations: 4 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.01624, allocations: 203.8 kB / 283.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.01625, allocations: 4 kB / 283.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.01645, allocations: 31.98 kB / 283.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.01648, allocations: 27.92 kB / 283.2 MB, free: 7.035 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.0001558/0.01664, allocations: 149.7 kB / 283.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.01672, allocations: 71.88 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.0168, allocations: 69.38 kB / 283.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.01681, allocations: 11.98 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.01681, allocations: 7.984 kB / 283.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.01682, allocations: 7.984 kB / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.0181, allocations: 1.156 MB / 284.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.0181, allocations: 7.984 kB / 284.7 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.01849, allocations: 187.7 kB / 284.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.0185, allocations: 8 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.01853, allocations: 31.98 kB / 284.9 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.01854, allocations: 11.94 kB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.01854, allocations: 4 kB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.0192, allocations: 0.8008 MB / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.01924, allocations: 47.67 kB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.01928, allocations: 28 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.01944, allocations: 35.97 kB / 285.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.01952, allocations: 80.75 kB / 285.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.01954, allocations: 20 kB / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.0196, allocations: 78.77 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0196, allocations: 0 / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.01989, allocations: 160 kB / 286.2 MB, free: 3.91 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.0001237/0.02001, allocations: 112.2 kB / 286.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.02041, allocations: 415.3 kB / 286.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.02042, allocations: 4 kB / 286.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.02063, allocations: 269.3 kB / 286.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.02105, allocations: 140.3 kB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.02242, allocations: 1.18 MB / 288.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.638e-05/0.02251, allocations: 139.7 kB / 288.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.02269, allocations: 76.92 kB / 288.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.02293, allocations: 177.3 kB / 288.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02293, allocations: 0 / 288.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of Templates: time 0.1001/0.123, allocations: 7.249 MB / 295.9 MB, free: 27.54 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.682109786197543]