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.00156/0.00156, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001505/0.001505, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.501/1.501, allocations: 230.3 MB / 258 MB, free: 8.195 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.2393/0.2393, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 179] 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.002425/0.002425, allocations: 80.14 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4314, allocations: 66.04 MB / 0.5617 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001927/0.4333, allocations: 0.4932 MB / 0.5621 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.4369, allocations: 2.062 MB / 0.5641 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.437, allocations: 0 / 0.5641 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.437, allocations: 0 / 0.5641 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.437, allocations: 0 / 0.5641 GB, free: 1.949 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.001643/0.4386, allocations: 0.5097 MB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.4387, allocations: 0 / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.456e-05/0.4387, allocations: 4 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.4388, allocations: 0 / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.4388, allocations: 3.938 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.4388, allocations: 0 / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.44, allocations: 0.7409 MB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.44, allocations: 3.938 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.44, allocations: 8 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.4407, allocations: 385.6 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4407, allocations: 0 / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4407, allocations: 4 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4407, allocations: 0 / 0.5658 GB, free: 312 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.0005039/0.4412, allocations: 343.4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.4413, allocations: 8.031 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4413, allocations: 0.9375 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.4414, allocations: 114.5 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4414, allocations: 384 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4414, allocations: 384 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.4416, allocations: 38 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4416, allocations: 4 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.4416, allocations: 0 / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4416, allocations: 0 / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.4416, allocations: 0 / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.4418, allocations: 120.8 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.4418, allocations: 18.52 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.4418, allocations: 4.859 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.4418, allocations: 0 / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.4419, allocations: 72.28 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4419, allocations: 0 / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002087/0.4421, allocations: 63.41 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.4422, allocations: 77.11 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.4422, allocations: 93.81 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4422, allocations: 25.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.4423, allocations: 84.08 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.4423, allocations: 4.125 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.4423, allocations: 21.64 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4425, allocations: 310.8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.4425, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.4425, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/0.4426, allocations: 64.27 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4426, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.605e-05/0.4427, allocations: 59.45 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.4427, allocations: 41.67 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4427, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4428, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-06/0.4428, allocations: 4 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4428, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.4428, allocations: 3.938 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4428, allocations: 7.938 kB / 0.5673 GB, free: 14.52 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.4429, allocations: 136.4 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.4429, allocations: 3.938 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.4429, allocations: 14.98 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.4429, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4429, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4429, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4431, allocations: 112.8 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4431, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.4431, allocations: 4 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4431, allocations: 3.938 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4431, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4431, allocations: 3.984 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4431, allocations: 4 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4432, allocations: 86.84 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.4432, allocations: 3.984 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4432, allocations: 7.922 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.4432, allocations: 4 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.4433, allocations: 3.938 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.4433, allocations: 0 / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.4433, allocations: 79.31 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4433, allocations: 3.938 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000469/0.4438, allocations: 135.6 kB / 0.5679 GB, free: 13.84 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.0009764/0.4448, allocations: 303 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4449, allocations: 63.39 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4449, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.445, allocations: 55.41 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.4451, allocations: 7.938 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.4454, allocations: 85 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.4458, allocations: 0.6768 MB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.4458, allocations: 4.125 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.4458, allocations: 11.38 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4458, allocations: 0 / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.008808/0.4546, allocations: 3.51 MB / 0.5725 GB, free: 9.047 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/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_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: 5.470396609976888]