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.002119/0.002119, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002749/0.002749, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 7.82 MB / 206.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.2525/0.2525, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.00272/0.00272, allocations: 87.84 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4081, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001824/0.41, allocations: 0.4995 MB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.4131, allocations: 1.93 MB / 0.5635 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.4131, allocations: 0 / 0.5635 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.4131, allocations: 4 kB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.4131, allocations: 0 / 0.5635 GB, free: 1.52 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.001507/0.4146, allocations: 0.4883 MB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.4147, allocations: 3.984 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.4148, allocations: 8 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.4148, allocations: 3.984 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.4148, allocations: 4 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.4148, allocations: 0 / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.4159, allocations: 0.6667 MB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-06/0.4159, allocations: 0 / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.4159, allocations: 3.984 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.4166, allocations: 393.4 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4166, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4166, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4166, allocations: 7.984 kB / 0.5651 GB, free: 15.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004599/0.417, allocations: 335.4 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4171, allocations: 8.031 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.4171, allocations: 4.938 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.4172, allocations: 102.5 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4172, allocations: 384 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4172, allocations: 384 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4173, allocations: 67.66 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4173, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4173, allocations: 3.984 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.4173, allocations: 0 / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.4174, allocations: 33.69 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.4175, allocations: 97.33 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.4176, allocations: 44.31 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.4176, allocations: 30.56 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.4176, allocations: 0 / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.4177, allocations: 64.27 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4177, allocations: 4 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002033/0.4179, allocations: 122.7 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4179, allocations: 77.11 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.418, allocations: 93.81 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.418, allocations: 29.7 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.418, allocations: 80.14 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.4181, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.4181, allocations: 13.7 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4182, allocations: 318.8 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.4183, allocations: 25.83 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.4183, allocations: 33.64 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.4184, allocations: 60.27 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4184, allocations: 0 / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.411e-05/0.4184, allocations: 93.09 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4185, allocations: 33.7 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4185, allocations: 0 / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4185, allocations: 3.938 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4185, allocations: 0 / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4185, allocations: 0 / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.4185, allocations: 8.031 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4185, allocations: 7.938 kB / 0.5668 GB, free: 13.92 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.0001039/0.4186, allocations: 135.5 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.4186, allocations: 0 / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.4187, allocations: 10.94 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4187, allocations: 0 / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4187, allocations: 3.938 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.4187, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.855e-05/0.4187, allocations: 101.3 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4187, allocations: 0 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.4187, allocations: 8 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4187, allocations: 3.984 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4188, allocations: 0 / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4188, allocations: 3.938 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4188, allocations: 0 / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.4189, allocations: 120.5 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-06/0.4189, allocations: 0 / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4189, allocations: 4 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.4189, allocations: 3.938 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.4189, allocations: 0 / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.4189, allocations: 0 / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.504e-05/0.419, allocations: 79.31 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.419, allocations: 4 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.4195, allocations: 127.6 kB / 0.5674 GB, free: 13.25 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.0007927/0.4203, allocations: 315.1 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.4204, allocations: 114.8 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4204, allocations: 3.938 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.4205, allocations: 85.11 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4206, allocations: 0 / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.4209, allocations: 114.7 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.4209, allocations: 55.36 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.711e-06/0.4209, allocations: 0 / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.4209, allocations: 11.56 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4209, allocations: 0 / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.007785/0.4287, allocations: 3.515 MB / 0.5715 GB, free: 8.945 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.1.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.412760643288493]