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.002008/0.002008, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.002311/0.002311, allocations: 149.1 kB / 24.25 MB, free: 156 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.547/1.547, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.815e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005304/0.005332, allocations: 3.234 MB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.007282, allocations: 0.8605 MB / 271.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.007646, allocations: 19.88 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.007918, allocations: 79.22 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.008334, allocations: 154.5 kB / 271.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.008824, allocations: 155.7 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008106/0.009635, allocations: 0.6187 MB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.009928, allocations: 130 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.01052, allocations: 359.2 kB / 272.9 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.01087, allocations: 203.4 kB / 273.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01097, allocations: 52 kB / 273.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.01107, allocations: 52 kB / 273.2 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.0112, allocations: 123.5 kB / 273.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.01146, allocations: 191.6 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.01225, allocations: 0.6192 MB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01225, allocations: 0 / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01226, allocations: 0 / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.01228, allocations: 0 / 274.1 MB, free: 15.86 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.001926/0.01421, allocations: 0.7817 MB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.01425, allocations: 8.922 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.01447, allocations: 96.56 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.015, allocations: 272.3 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.01505, allocations: 37.36 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.01515, allocations: 48.38 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.01622, allocations: 454.9 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.01625, allocations: 8.141 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.0163, allocations: 16.38 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.01633, allocations: 15.94 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.01748, allocations: 447.7 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.02008, allocations: 1.177 MB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.02116, allocations: 0.4947 MB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008922/0.02205, allocations: 340 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.0221, allocations: 12.66 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.02214, allocations: 43.16 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.314e-06/0.02215, allocations: 4 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.008295/0.03044, allocations: 3.033 MB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.0305, allocations: 60.41 kB / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.03083, allocations: 245.8 kB / 281.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.03089, allocations: 41.7 kB / 281.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.03106, allocations: 197.5 kB / 281.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.03142, allocations: 364.8 kB / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.03166, allocations: 146.6 kB / 282.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.03188, allocations: 366.7 kB / 282.8 MB, free: 7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.03255, allocations: 273.8 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.0333, allocations: 345.4 kB / 283.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.03469, allocations: 0.6272 MB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.03469, allocations: 0 / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001771/0.03646, allocations: 0.8175 MB / 284.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.03649, allocations: 4 kB / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.03649, allocations: 0 / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.03652, allocations: 8 kB / 284.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.03742, allocations: 207.7 kB / 285 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.03744, allocations: 4 kB / 285 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.03783, allocations: 55.89 kB / 285.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.03789, allocations: 31.98 kB / 285.1 MB, free: 4.625 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.0002903/0.03818, allocations: 193.7 kB / 285.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.03834, allocations: 83.67 kB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.03854, allocations: 77.3 kB / 285.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.03855, allocations: 12 kB / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.03856, allocations: 0 / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.03857, allocations: 3.984 kB / 285.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.04212, allocations: 1.766 MB / 287.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.04214, allocations: 8 kB / 287.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.04302, allocations: 207.7 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.04303, allocations: 8.594 kB / 287.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.04311, allocations: 31.98 kB / 287.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.04312, allocations: 15.94 kB / 287.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.04313, allocations: 4 kB / 287.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.04584, allocations: 1.396 MB / 288.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.04593, allocations: 51.73 kB / 289 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.04602, allocations: 27.98 kB / 289 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.04644, allocations: 43.97 kB / 289 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.04658, allocations: 80.75 kB / 289.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.04664, allocations: 31.98 kB / 289.1 MB, free: 428 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.04683, allocations: 169.2 kB / 289.3 MB, free: 260 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04683, allocations: 3.938 kB / 289.3 MB, free: 256 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000556/0.04738, allocations: 156 kB / 289.5 MB, free: 100 kB / 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.09588/0.1433, allocations: 127.1 kB / 289.6 MB, free: 33.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.145, allocations: 0.6898 MB / 290.3 MB, free: 33.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.145, allocations: 1.438 kB / 290.3 MB, free: 33.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.1458, allocations: 421.6 kB / 290.7 MB, free: 33.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.1467, allocations: 129.6 kB / 290.8 MB, free: 33.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.1491, allocations: 1.413 MB / 292.2 MB, free: 32.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1494, allocations: 269.2 kB / 292.5 MB, free: 32.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.1497, allocations: 76.36 kB / 292.6 MB, free: 32.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.1499, allocations: 56.47 kB / 292.6 MB, free: 32.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1499, allocations: 1.125 kB / 292.6 MB, free: 32.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01263/0.1625, allocations: 6.576 MB / 299.2 MB, free: 30.34 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=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.6596477089915425]