Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.001536/0.001536, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00158/0.00158, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.673/1.673, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.3089/0.3089, allocations: 44.27 MB / 330.3 MB, free: 9.293 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.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") [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.002462/0.002462, allocations: 71.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.161, allocations: 61.04 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001973/0.163, allocations: 0.5066 MB / 0.5171 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.1663, allocations: 1.94 MB / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1664, allocations: 0 / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.1664, allocations: 0 / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.1664, allocations: 4 kB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1682, allocations: 0.4909 MB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.1682, allocations: 3.984 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.1683, allocations: 7.984 kB / 0.5195 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.1683, allocations: 4 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.1684, allocations: 0 / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1684, allocations: 0 / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1696, allocations: 0.6511 MB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1696, allocations: 0 / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.1696, allocations: 0 / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.1702, allocations: 387 kB / 0.5205 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1703, allocations: 3.938 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1703, allocations: 0 / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1703, allocations: 0 / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005315/0.1708, allocations: 339.5 kB / 0.5209 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1708, allocations: 8.031 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.1709, allocations: 0.9375 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.171, allocations: 102.5 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.171, allocations: 8.375 kB / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.171, allocations: 384 / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1711, allocations: 67.64 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1711, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.1712, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1712, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.1712, allocations: 29.64 kB / 0.5211 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1713, allocations: 101.3 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.1714, allocations: 44.27 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.1715, allocations: 34.66 kB / 0.5212 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1715, allocations: 4 kB / 0.5212 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.1715, allocations: 56.27 kB / 0.5213 GB, free: 1.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1715, allocations: 0 / 0.5213 GB, free: 1.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002518/0.1718, allocations: 126.7 kB / 0.5214 GB, free: 1.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1718, allocations: 81.11 kB / 0.5215 GB, free: 1.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.1719, allocations: 89.86 kB / 0.5216 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1719, allocations: 25.7 kB / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.172, allocations: 80.14 kB / 0.5217 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.172, allocations: 0 / 0.5217 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.172, allocations: 17.72 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1722, allocations: 315 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.1722, allocations: 25.7 kB / 0.522 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.1722, allocations: 33.69 kB / 0.5221 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.1723, allocations: 60.27 kB / 0.5221 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1723, allocations: 0 / 0.5221 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.1724, allocations: 97.03 kB / 0.5222 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.1725, allocations: 33.69 kB / 0.5222 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1725, allocations: 0 / 0.5222 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1725, allocations: 3.938 kB / 0.5222 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1725, allocations: 4.094 kB / 0.5222 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1725, allocations: 4 kB / 0.5222 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1725, allocations: 4 kB / 0.5222 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1725, allocations: 0 / 0.5222 GB, free: 0.6172 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001191/0.1726, allocations: 135.5 kB / 0.5224 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.1727, allocations: 0 / 0.5224 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.1727, allocations: 10.88 kB / 0.5224 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1727, allocations: 0 / 0.5224 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1727, allocations: 0 / 0.5224 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1727, allocations: 3.938 kB / 0.5224 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.158e-05/0.1728, allocations: 109.3 kB / 0.5225 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1728, allocations: 0 / 0.5225 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1728, allocations: 0 / 0.5225 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.1728, allocations: 0 / 0.5225 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1728, allocations: 0 / 0.5225 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1728, allocations: 3.938 kB / 0.5225 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1728, allocations: 4 kB / 0.5225 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1729, allocations: 124.5 kB / 0.5226 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.1729, allocations: 0 / 0.5226 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1729, allocations: 0 / 0.5226 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1729, allocations: 3.938 kB / 0.5226 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.173, allocations: 8.031 kB / 0.5226 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.173, allocations: 0 / 0.5226 GB, free: 152 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.173, allocations: 75.28 kB / 0.5227 GB, free: 76 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.173, allocations: 0 / 0.5227 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.1734, allocations: 127.6 kB / 0.5228 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008631/0.1743, allocations: 307.3 kB / 0.5231 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1745, allocations: 110.8 kB / 0.5232 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1745, allocations: 0 / 0.5232 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.1746, allocations: 85.05 kB / 0.5233 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1747, allocations: 8 kB / 0.5233 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.175, allocations: 114.5 kB / 0.5234 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.175, allocations: 55.3 kB / 0.5235 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.175, allocations: 8.125 kB / 0.5235 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.1751, allocations: 7.438 kB / 0.5235 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1751, allocations: 0 / 0.5235 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.00813/0.1832, allocations: 3.376 MB / 0.5268 GB, free: 11.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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: 5.919926185160875]