Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 86.44 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 163 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.827e-05, allocations: 2.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004581/0.004609, allocations: 3.197 MB / 302.1 MB, free: 5.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.006179, allocations: 0.8887 MB / 303 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.006363, allocations: 11.94 kB / 303 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.00659, allocations: 87.09 kB / 303.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.006871, allocations: 154.5 kB / 303.3 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.007314, allocations: 163.6 kB / 303.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.008005, allocations: 0.6226 MB / 304.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.008271, allocations: 130 kB / 304.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.008754, allocations: 355.3 kB / 304.5 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.009069, allocations: 211.4 kB / 304.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.009157, allocations: 51.94 kB / 304.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.009248, allocations: 55.94 kB / 304.8 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.009365, allocations: 115.6 kB / 305 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.009609, allocations: 187.6 kB / 305.1 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007062/0.01032, allocations: 0.6191 MB / 305.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01032, allocations: 4 kB / 305.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01032, allocations: 4 kB / 305.8 MB, free: 1.855 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01033, allocations: 3.938 kB / 305.8 MB, free: 1.852 MB / 286.1 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.00177/0.0121, allocations: 0.7739 MB / 306.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.01214, allocations: 12.03 kB / 306.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.01226, allocations: 56.61 kB / 306.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.01277, allocations: 272.4 kB / 306.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.01283, allocations: 37.36 kB / 306.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.01292, allocations: 52.33 kB / 307 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/0.01388, allocations: 450.9 kB / 307.4 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.01391, allocations: 192 / 307.4 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.01395, allocations: 16.38 kB / 307.4 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.01397, allocations: 23.92 kB / 307.4 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.01509, allocations: 451.7 kB / 307.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.01746, allocations: 1.169 MB / 309.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.01848, allocations: 0.4907 MB / 309.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008397/0.01932, allocations: 351 kB / 309.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.01936, allocations: 16.62 kB / 309.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.0194, allocations: 35.22 kB / 309.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 1.954e-06/0.0194, allocations: 4 kB / 309.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007925/0.02732, allocations: 3.005 MB / 312.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.02739, allocations: 60.41 kB / 313 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.02769, allocations: 241.9 kB / 313.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.02776, allocations: 45.7 kB / 313.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.02793, allocations: 197.5 kB / 313.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.02826, allocations: 364.8 kB / 313.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.0285, allocations: 142.7 kB / 314 MB, free: 9.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.02869, allocations: 366.7 kB / 314.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/0.02932, allocations: 269.8 kB / 314.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.03003, allocations: 353.4 kB / 314.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.03135, allocations: 0.6234 MB / 315.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03135, allocations: 4 kB / 315.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001534/0.03288, allocations: 0.7822 MB / 316.4 MB, free: 7.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.0329, allocations: 7.984 kB / 316.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.03291, allocations: 64 / 316.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.03293, allocations: 8 kB / 316.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.03377, allocations: 211.7 kB / 316.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.03379, allocations: 7.938 kB / 316.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.03415, allocations: 43.91 kB / 316.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.03421, allocations: 31.98 kB / 316.7 MB, free: 6.723 MB / 302.1 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.0002666/0.03447, allocations: 193.7 kB / 316.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.03458, allocations: 55.67 kB / 316.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.03476, allocations: 73.36 kB / 317 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.03478, allocations: 12 kB / 317 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.0348, allocations: 0 / 317 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.03481, allocations: 3.984 kB / 317 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.03801, allocations: 1.766 MB / 318.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.03802, allocations: 4 kB / 318.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.03887, allocations: 203.7 kB / 319 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.03888, allocations: 8 kB / 319 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.03893, allocations: 27.98 kB / 319 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.03894, allocations: 8 kB / 319 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.03895, allocations: 11.94 kB / 319 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.04138, allocations: 1.369 MB / 320.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.04145, allocations: 51.72 kB / 320.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.04152, allocations: 24 kB / 320.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.04194, allocations: 47.95 kB / 320.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.04207, allocations: 76.75 kB / 320.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.04212, allocations: 28 kB / 320.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.0423, allocations: 169.2 kB / 320.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0423, allocations: 0 / 320.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.04283, allocations: 160 kB / 320.9 MB, free: 2.277 MB / 302.1 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.0001999/0.04303, allocations: 139 kB / 321.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.04455, allocations: 0.6918 MB / 321.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.04456, allocations: 4 kB / 321.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.0454, allocations: 418.6 kB / 322.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.04623, allocations: 124.4 kB / 322.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1659/0.2121, allocations: 1.377 MB / 323.7 MB, free: 34.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2124, allocations: 268.9 kB / 323.9 MB, free: 34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.2128, allocations: 81.89 kB / 324 MB, free: 34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.213, allocations: 58.31 kB / 324.1 MB, free: 33.99 MB / 302.1 MB Notification: Performance of SimCode: time 1.553e-06/0.213, allocations: 0 / 324.1 MB, free: 33.99 MB / 302.1 MB Notification: Performance of Templates: time 0.0134/0.2264, allocations: 6.537 MB / 330.6 MB, free: 32.93 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.7153469026088715]