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.001808/0.001808, allocations: 119 kB / 19.13 MB, free: 3.922 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.002392/0.002392, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.505/1.505, allocations: 227.4 MB / 252.3 MB, free: 72 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.2314/0.2314, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.002317/0.002317, allocations: 77.55 kB / 490.9 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 62.44 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001741/0.1225, allocations: 0.4988 MB / 0.5408 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1256, allocations: 2.028 MB / 0.5428 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1257, allocations: 4 kB / 0.5428 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1257, allocations: 0 / 0.5428 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.1257, allocations: 0 / 0.5428 GB, free: 1.699 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.00152/0.1272, allocations: 0.4929 MB / 0.5433 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.1273, allocations: 4 kB / 0.5433 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1273, allocations: 0 / 0.5433 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.1274, allocations: 0 / 0.5433 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.1274, allocations: 0 / 0.5433 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.1274, allocations: 7.938 kB / 0.5433 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1285, allocations: 0.6396 MB / 0.5439 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.1285, allocations: 0 / 0.5439 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1286, allocations: 3.984 kB / 0.5439 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.1292, allocations: 383.1 kB / 0.5443 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1292, allocations: 4 kB / 0.5443 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1292, allocations: 0 / 0.5443 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1292, allocations: 0 / 0.5443 GB, free: 176 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.0005612/0.1298, allocations: 424.4 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1298, allocations: 8.031 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.1298, allocations: 4.875 kB / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.13, allocations: 164.4 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.13, allocations: 4.375 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.13, allocations: 384 / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.1301, allocations: 34.02 kB / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1301, allocations: 0 / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1301, allocations: 4 kB / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1301, allocations: 3.984 kB / 0.5449 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.1302, allocations: 0 / 0.5449 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1303, allocations: 153.7 kB / 0.5451 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.1304, allocations: 22.55 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.1304, allocations: 4.859 kB / 0.5451 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1304, allocations: 4 kB / 0.5451 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.1305, allocations: 64.27 kB / 0.5452 GB, free: 15.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1305, allocations: 0 / 0.5452 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001888/0.1307, allocations: 67.39 kB / 0.5452 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1308, allocations: 81.05 kB / 0.5453 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.1308, allocations: 93.81 kB / 0.5454 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1308, allocations: 25.7 kB / 0.5454 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.1309, allocations: 80.27 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1309, allocations: 4 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.131, allocations: 17.66 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1311, allocations: 310.8 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.1311, allocations: 4 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.1311, allocations: 4 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.596e-05/0.1312, allocations: 60.25 kB / 0.5459 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1312, allocations: 0 / 0.5459 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.646e-05/0.1313, allocations: 63.47 kB / 0.5459 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.1313, allocations: 43.61 kB / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1313, allocations: 0 / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1314, allocations: 0 / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1314, allocations: 0 / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1314, allocations: 3.984 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.1314, allocations: 0 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1314, allocations: 0 / 0.546 GB, free: 14.18 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.000101/0.1315, allocations: 139.5 kB / 0.5461 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1315, allocations: 7.969 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-06/0.1316, allocations: 3.125 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1316, allocations: 0 / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1316, allocations: 4 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1316, allocations: 0 / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1317, allocations: 145.7 kB / 0.5463 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1317, allocations: 3.938 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1317, allocations: 0 / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1317, allocations: 3.938 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1317, allocations: 7.984 kB / 0.5463 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1317, allocations: 0 / 0.5463 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1318, allocations: 4 kB / 0.5463 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1319, allocations: 94.77 kB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1319, allocations: 77.11 kB / 0.5464 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.132, allocations: 3.938 kB / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.132, allocations: 0 / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.132, allocations: 0 / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.132, allocations: 4 kB / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.132, allocations: 83.34 kB / 0.5465 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.132, allocations: 0 / 0.5465 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.1325, allocations: 135.6 kB / 0.5467 GB, free: 13.38 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.0008178/0.1333, allocations: 313.1 kB / 0.547 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1334, allocations: 59.41 kB / 0.547 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1334, allocations: 0 / 0.547 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.1335, allocations: 55.41 kB / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1336, allocations: 0 / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.1338, allocations: 114.7 kB / 0.5472 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1342, allocations: 0.673 MB / 0.5478 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.1343, allocations: 11.44 kB / 0.5478 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1343, allocations: 0 / 0.5478 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.007156/0.1414, allocations: 3.405 MB / 0.5512 GB, free: 8.66 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.749532182933763]