Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001503/0.001503, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001851/0.001851, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2275/0.2275, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 87.81 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3337, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00161/0.3353, allocations: 0.4932 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.3384, allocations: 2.054 MB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.3384, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.868e-06/0.3384, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.3384, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.001393/0.3398, allocations: 0.4981 MB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.3399, allocations: 0 / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.3399, allocations: 4 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.3399, allocations: 0 / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.617e-05/0.3399, allocations: 3.938 kB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.3399, allocations: 0 / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.341, allocations: 0.6707 MB / 0.5648 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-06/0.341, allocations: 4 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.341, allocations: 7.938 kB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.3416, allocations: 389.7 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3416, allocations: 4 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3416, allocations: 0 / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3416, allocations: 3.938 kB / 0.5652 GB, free: 0.8945 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.0004618/0.342, allocations: 412.6 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3421, allocations: 8.031 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3421, allocations: 4.922 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3422, allocations: 160.4 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3422, allocations: 384 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3423, allocations: 4.375 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.3423, allocations: 37.95 kB / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.3423, allocations: 0 / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3423, allocations: 0 / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.3423, allocations: 0 / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.3424, allocations: 4 kB / 0.5658 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.3425, allocations: 145.7 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.3426, allocations: 22.61 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.3426, allocations: 8.859 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-06/0.3426, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.3427, allocations: 64.14 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3427, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.3428, allocations: 63.45 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3429, allocations: 81.11 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.3429, allocations: 101.8 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3429, allocations: 25.7 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.343, allocations: 84.27 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.343, allocations: 0 / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.343, allocations: 9.719 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3432, allocations: 314.8 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.3432, allocations: 0 / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.3432, allocations: 3.984 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.3432, allocations: 68.2 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3432, allocations: 64 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.403e-05/0.3433, allocations: 63.41 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/0.3433, allocations: 29.7 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3433, allocations: 3.938 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3434, allocations: 7.984 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3434, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3434, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.3434, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3434, allocations: 0 / 0.5669 GB, free: 14.93 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.0001058/0.3435, allocations: 147.5 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.3435, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.3435, allocations: 7.062 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3435, allocations: 3.984 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3435, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3436, allocations: 81.09 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3436, allocations: 4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.3436, allocations: 7.938 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.3436, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000142/0.3438, allocations: 198.1 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00017/0.3439, allocations: 240.5 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.069e-05/0.3439, allocations: 7.938 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.344, allocations: 75.28 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Backend: time 2.2e-07/0.344, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.345, allocations: 350.1 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004287/0.3454, allocations: 0.5912 MB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of Templates: time 0.006945/0.3523, allocations: 3.522 MB / 0.572 GB, free: 9.562 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.979026739951223]