Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002521, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002398, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.921/0.921, allocations: 177.1 MB / 189.5 MB, free: 3.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1616/1.083, allocations: 53.66 MB / 243.2 MB, free: 2.348 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1412/0.1412, allocations: 32.8 MB / 276.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01963/0.1609, allocations: 12.53 MB / 289.3 MB, free: 4.453 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomIntegers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomIntegers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 290.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.403e-06/8.585e-06, allocations: 4.844 kB / 290.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.0009058/0.0009143, allocations: 0.583 MB / 291.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.001389, allocations: 450.2 kB / 291.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.001417, allocations: 4 kB / 291.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.001436, allocations: 3.938 kB / 291.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.001483, allocations: 7.922 kB / 291.5 MB, free: 2.184 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.001856, allocations: 167.3 kB / 291.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.00197, allocations: 83.86 kB / 291.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.817e-05/0.001999, allocations: 4 kB / 291.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.00207, allocations: 51.95 kB / 291.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.002113, allocations: 11.92 kB / 291.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.002131, allocations: 4 kB / 291.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.002314, allocations: 131.7 kB / 292 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.002349, allocations: 15.94 kB / 292 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.002372, allocations: 11.94 kB / 292 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.002543, allocations: 119.7 kB / 292.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.002551, allocations: 0 / 292.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002551, allocations: 0 / 292.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.00256, allocations: 0 / 292.1 MB, free: 1.594 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003803/0.002941, allocations: 308.8 kB / 292.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.00297, allocations: 8.031 kB / 292.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.002998, allocations: 38.73 kB / 292.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.003026, allocations: 8.938 kB / 292.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.003138, allocations: 121.7 kB / 292.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.003147, allocations: 384 / 292.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.003162, allocations: 8.375 kB / 292.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003267, allocations: 81.72 kB / 292.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.003276, allocations: 192 / 292.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.003286, allocations: 4.375 kB / 292.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.003291, allocations: 8.125 kB / 292.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.003315, allocations: 15.98 kB / 292.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.00342, allocations: 91.23 kB / 292.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.003471, allocations: 38.5 kB / 292.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.00349, allocations: 8.859 kB / 292.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.003504, allocations: 7.984 kB / 292.9 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.003622, allocations: 110.2 kB / 293 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.003623, allocations: 0 / 293 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001141/0.003737, allocations: 69.67 kB / 293 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.00377, allocations: 67.33 kB / 293.1 MB, free: 480 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.003817, allocations: 110.6 kB / 293.2 MB, free: 356 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.003835, allocations: 29.7 kB / 293.2 MB, free: 320 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.003858, allocations: 84.14 kB / 293.3 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.003884, allocations: 31.77 kB / 293.4 MB, free: 200 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.003915, allocations: 29.69 kB / 293.4 MB, free: 164 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.003995, allocations: 314.8 kB / 293.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.004023, allocations: 41.69 kB / 293.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.004066, allocations: 92.55 kB / 293.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.004149, allocations: 123.2 kB / 293.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004151, allocations: 4 kB / 293.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001038/0.004255, allocations: 153.1 kB / 294.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.004281, allocations: 37.7 kB / 294.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.004285, allocations: 0 / 294.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.004296, allocations: 4 kB / 294.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.004383, allocations: 31.86 kB / 294.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.004388, allocations: 8.016 kB / 294.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.004415, allocations: 7.953 kB / 294.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.004425, allocations: 11.98 kB / 294.2 MB, free: 15.25 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: y:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (id,cnt[3],$PRE.cnt[3],cnt[2],$PRE.cnt[2],cnt[1],$PRE.cnt[1],$PRE.y,y,$whenCondition2,$whenCondition1,samples,$PRE.samples) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 9.19e-05/0.004517, allocations: 127.8 kB / 294.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.004532, allocations: 8 kB / 294.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.004558, allocations: 16.05 kB / 294.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.004561, allocations: 4 kB / 294.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.004564, allocations: 3.938 kB / 294.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.004567, allocations: 0 / 294.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.988e-05/0.004647, allocations: 97.25 kB / 294.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004648, allocations: 0 / 294.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.004669, allocations: 8 kB / 294.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.004672, allocations: 3.984 kB / 294.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.004678, allocations: 4 kB / 294.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004679, allocations: 4 kB / 294.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00468, allocations: 64 / 294.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.353e-05/0.004763, allocations: 106.6 kB / 294.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.004773, allocations: 15.88 kB / 294.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.004788, allocations: 4 kB / 294.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.004861, allocations: 11.98 kB / 294.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.004877, allocations: 7.984 kB / 294.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.004887, allocations: 7.938 kB / 294.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.186e-06/0.004895, allocations: 4.859 kB / 294.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004895, allocations: 0 / 294.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.005054, allocations: 47.92 kB / 294.7 MB, free: 14.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,y,cnt[1],cnt[2],cnt[3],samples) * Number of discrete states: 4 (cnt[1],cnt[2],cnt[3],samples) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003997/0.005454, allocations: 0.5813 MB / 295.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.005578, allocations: 142.2 kB / 295.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.005581, allocations: 64 / 295.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.005605, allocations: 28.84 kB / 295.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.696e-05/0.005672, allocations: 11.98 kB / 295.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.006325, allocations: 0.9191 MB / 296.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.469e-05/0.00635, allocations: 59.36 kB / 296.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.006382, allocations: 16.66 kB / 296.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.006426, allocations: 63.36 kB / 296.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006427, allocations: 7.938 kB / 296.5 MB, free: 12.77 MB / 298.7 MB Notification: FMU-only work: backend 8.421e-05, simCode 0.0003716, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/0.1219, allocations: 5.681 MB / 302.2 MB, free: 7.355 MB / 298.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.107, allocations: 11.91 kB / 302.2 MB, free: 7.344 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_fmu --startTime=0 --stopTime=1 --stepSize=0.000166639 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.000166639 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.000166639 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy_res.csv --output-variables y 'cnt[1]' 'cnt[2]' 'cnt[3]' avg lowBound highBound samples --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000166639 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000166639 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable y in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable y from file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable cnt[1] in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable cnt[1] from file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable cnt[2] in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable cnt[2] from file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable cnt[3] in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable cnt[3] from file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable samples in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable samples from file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,y,cnt[1],cnt[2],cnt[3],avg,lowBound,highBound,samples Variables in the result:time,avg,highBound,lowBound,nrSigma filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.diff.mat", vars={"samples", "cnt[3]", "cnt[2]", "cnt[1]", "y"}, removeDescription=false) [Timeout 660] "Error: Could not read variable samples in file ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomIntegers/TestRandomIntegers.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"samples", "cnt[3]", "cnt[2]", "cnt[1]", "y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.04634365439415]