Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 118 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 211.4 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 251.6 MB, free: 76 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 81.16 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1532, allocations: 62.46 MB / 0.5397 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001876/0.1552, allocations: 0.4904 MB / 0.5402 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.1588, allocations: 2.032 MB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1588, allocations: 4 kB / 0.5421 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.1589, allocations: 0 / 0.5421 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.1589, allocations: 0 / 0.5421 GB, free: 1.801 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1607, allocations: 0.4913 MB / 0.5426 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.1608, allocations: 7.984 kB / 0.5426 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.1608, allocations: 4 kB / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1609, allocations: 0 / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.086e-05/0.1609, allocations: 0 / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.1609, allocations: 0 / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1621, allocations: 0.6396 MB / 0.5433 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.1621, allocations: 0 / 0.5433 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1621, allocations: 4 kB / 0.5433 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.1628, allocations: 391.1 kB / 0.5436 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1628, allocations: 0 / 0.5436 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1628, allocations: 0 / 0.5436 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1628, allocations: 0 / 0.5436 GB, free: 280 kB / 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.0006203/0.1635, allocations: 424.4 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1635, allocations: 12.03 kB / 0.5441 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1635, allocations: 0.9375 kB / 0.5441 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1637, allocations: 160.4 kB / 0.5442 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1637, allocations: 384 / 0.5442 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1637, allocations: 384 / 0.5442 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1639, allocations: 38 kB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1639, allocations: 0 / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1639, allocations: 4 kB / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1639, allocations: 0 / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.1639, allocations: 8 kB / 0.5443 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1641, allocations: 145.6 kB / 0.5444 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/0.1642, allocations: 22.52 kB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.1642, allocations: 8.953 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.1642, allocations: 0 / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.1643, allocations: 68.19 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1643, allocations: 0 / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002484/0.1645, allocations: 59.41 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.1646, allocations: 85.05 kB / 0.5446 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.1647, allocations: 93.81 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1648, allocations: 29.7 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.1648, allocations: 80.14 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1648, allocations: 0 / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1649, allocations: 17.83 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1651, allocations: 314.8 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.1651, allocations: 3.938 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.1651, allocations: 0 / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.1652, allocations: 64.27 kB / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1652, allocations: 0 / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.756e-05/0.1653, allocations: 67.33 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.1654, allocations: 33.64 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1654, allocations: 4.094 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1654, allocations: 0 / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1654, allocations: 0 / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1654, allocations: 4 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.1655, allocations: 0 / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1655, allocations: 0 / 0.5453 GB, free: 14.29 MB / 414.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.0001468/0.1656, allocations: 135.5 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1656, allocations: 7.938 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.1657, allocations: 7.109 kB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1657, allocations: 4 kB / 0.5455 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1657, allocations: 0 / 0.5455 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1657, allocations: 0 / 0.5455 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1658, allocations: 145.7 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1659, allocations: 0 / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1659, allocations: 0 / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1659, allocations: 3.938 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1659, allocations: 3.984 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1659, allocations: 0 / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1659, allocations: 3.984 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.166, allocations: 94.78 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.1661, allocations: 85.08 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1661, allocations: 7.938 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/0.1661, allocations: 3.938 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.1662, allocations: 0 / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1662, allocations: 4 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.1662, allocations: 79.31 kB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.1667, allocations: 139.6 kB / 0.546 GB, free: 13.47 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.0009025/0.1676, allocations: 306.6 kB / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1678, allocations: 63.39 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1678, allocations: 4 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.1679, allocations: 51.41 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.168, allocations: 7.422 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.1682, allocations: 81 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1687, allocations: 0.6729 MB / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.1687, allocations: 0 / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.1687, allocations: 7.562 kB / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1688, allocations: 4 kB / 0.5472 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.008232/0.177, allocations: 3.505 MB / 0.5506 GB, free: 8.695 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.20373132172972]