Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.002129/0.002129, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 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.002471/0.002471, allocations: 213.1 kB / 22.99 MB, free: 4.602 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.729/1.729, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 71.89 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1688, allocations: 61.03 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006548/0.1754, allocations: 3.712 MB / 0.5202 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.178, allocations: 1.076 MB / 0.5213 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1784, allocations: 19.88 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1787, allocations: 98.95 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005993/0.1793, allocations: 202.2 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.18, allocations: 195.6 kB / 0.5218 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.181, allocations: 0.7783 MB / 0.5226 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.1813, allocations: 156.1 kB / 0.5227 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.1818, allocations: 318.9 kB / 0.523 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.1823, allocations: 306.5 kB / 0.5233 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1824, allocations: 60 kB / 0.5234 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1826, allocations: 91.92 kB / 0.5234 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1828, allocations: 143.5 kB / 0.5236 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1831, allocations: 290.6 kB / 0.5239 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1842, allocations: 0.7741 MB / 0.5246 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1842, allocations: 0 / 0.5246 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1842, allocations: 0 / 0.5246 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1842, allocations: 3.938 kB / 0.5246 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002169/0.1864, allocations: 0.941 MB / 0.5255 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1864, allocations: 8.031 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1866, allocations: 88.45 kB / 0.5256 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.1872, allocations: 332.3 kB / 0.5259 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.1873, allocations: 45.69 kB / 0.526 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1874, allocations: 64.33 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1887, allocations: 0.6268 MB / 0.5267 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.1887, allocations: 7.953 kB / 0.5267 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1888, allocations: 24 kB / 0.5267 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.1888, allocations: 16 kB / 0.5267 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.19, allocations: 0.5293 MB / 0.5272 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.1936, allocations: 1.913 MB / 0.5291 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.1953, allocations: 0.6606 MB / 0.5297 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.1959, allocations: 335.4 kB / 0.5301 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1961, allocations: 24.31 kB / 0.5301 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.1961, allocations: 46.98 kB / 0.5301 GB, free: 8.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.426e-06/0.1961, allocations: 0 / 0.5301 GB, free: 8.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.008948/0.2051, allocations: 3.931 MB / 0.534 GB, free: 4.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.2052, allocations: 234.1 kB / 0.5342 GB, free: 4.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.2057, allocations: 369.9 kB / 0.5345 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.2058, allocations: 45.7 kB / 0.5346 GB, free: 3.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.206, allocations: 277.4 kB / 0.5348 GB, free: 3.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.2064, allocations: 424.3 kB / 0.5353 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.2067, allocations: 178.9 kB / 0.5354 GB, free: 2.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.2069, allocations: 382.8 kB / 0.5358 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.2076, allocations: 318.5 kB / 0.5361 GB, free: 2.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.2085, allocations: 0.5082 MB / 0.5366 GB, free: 1.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.2102, allocations: 0.8706 MB / 0.5374 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2102, allocations: 8 kB / 0.5374 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.3276/0.5378, allocations: 0.9955 MB / 0.5384 GB, free: 27.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5378, allocations: 8.062 kB / 0.5384 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.5378, allocations: 8.281 kB / 0.5384 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.773e-05/0.5379, allocations: 10.31 kB / 0.5384 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.539, allocations: 283.8 kB / 0.5387 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.184e-05/0.539, allocations: 14.62 kB / 0.5387 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.5396, allocations: 54.62 kB / 0.5388 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.5397, allocations: 41.61 kB / 0.5388 GB, free: 27.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0003331/0.54, allocations: 229.2 kB / 0.539 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.5403, allocations: 81.77 kB / 0.5391 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.5408, allocations: 218.7 kB / 0.5393 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5408, allocations: 13.53 kB / 0.5393 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.5408, allocations: 3.922 kB / 0.5393 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.5408, allocations: 8.312 kB / 0.5393 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.5443, allocations: 2.061 MB / 0.5414 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.5444, allocations: 12.09 kB / 0.5414 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.5454, allocations: 252.2 kB / 0.5416 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.5455, allocations: 8.781 kB / 0.5416 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.5455, allocations: 28.23 kB / 0.5416 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.5455, allocations: 7.734 kB / 0.5417 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5455, allocations: 8.062 kB / 0.5417 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.5482, allocations: 1.904 MB / 0.5435 GB, free: 26.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.5485, allocations: 126.4 kB / 0.5436 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.5486, allocations: 26.36 kB / 0.5437 GB, free: 25.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.5493, allocations: 44.38 kB / 0.5437 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.5495, allocations: 91.72 kB / 0.5438 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.5496, allocations: 35.36 kB / 0.5438 GB, free: 25.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.5499, allocations: 250.9 kB / 0.5441 GB, free: 25.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5499, allocations: 0 / 0.5441 GB, free: 25.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009234/0.5508, allocations: 194.3 kB / 0.5443 GB, free: 25.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0001681/0.551, allocations: 133.4 kB / 0.5444 GB, free: 25.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.5528, allocations: 0.8155 MB / 0.5452 GB, free: 25.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5528, allocations: 0 / 0.5452 GB, free: 25.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.5537, allocations: 476 kB / 0.5456 GB, free: 25.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.555, allocations: 139.3 kB / 0.5458 GB, free: 25.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.5587, allocations: 2.22 MB / 0.5479 GB, free: 23.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.5592, allocations: 348.5 kB / 0.5483 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005114/0.5597, allocations: 99.91 kB / 0.5484 GB, free: 23.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5599, allocations: 67 kB / 0.5484 GB, free: 23.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5599, allocations: 4 kB / 0.5484 GB, free: 23.75 MB / 414.1 MB Notification: Performance of Templates: time 0.01878/0.5787, allocations: 8.027 MB / 0.5563 GB, free: 22.8 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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: 6.093051200732589]