Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.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.001066/0.001066, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002558, 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.001085/0.001085, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002492, 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.9833/0.9833, allocations: 177.1 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08013/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.2278/0.2278, allocations: 32.81 MB / 276.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02113/0.2489, allocations: 12.52 MB / 289.3 MB, free: 8.688 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.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 290.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.764e-06/9.177e-06, allocations: 3.156 kB / 290.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0009017/0.0009109, allocations: 0.5959 MB / 291.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.001589, allocations: 0.612 MB / 291.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.001611, allocations: 1.25 kB / 291.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.001634, allocations: 3.938 kB / 291.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.916e-06/0.001637, allocations: 5 kB / 291.7 MB, free: 6.758 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.002122, allocations: 195.1 kB / 291.9 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.002178, allocations: 36.92 kB / 291.9 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.002212, allocations: 3 kB / 291.9 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.002257, allocations: 13.64 kB / 292 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.002295, allocations: 17.25 kB / 292 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.002307, allocations: 1.312 kB / 292 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.002602, allocations: 205.9 kB / 292.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.002671, allocations: 57.58 kB / 292.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.002705, allocations: 26.62 kB / 292.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.002924, allocations: 203.3 kB / 292.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.002932, allocations: 4 kB / 292.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002932, allocations: 0 / 292.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.00294, allocations: 0 / 292.5 MB, free: 6.344 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0003538/0.003293, allocations: 390.4 kB / 292.8 MB, free: 5.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.003325, allocations: 12.03 kB / 292.9 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.484e-05/0.00342, allocations: 142.5 kB / 293 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.003461, allocations: 40.91 kB / 293 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.885e-05/0.00352, allocations: 141.3 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.00354, allocations: 28.88 kB / 293.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.003567, allocations: 44.38 kB / 293.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.003719, allocations: 179.5 kB / 293.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.003728, allocations: 4.125 kB / 293.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.003741, allocations: 15.94 kB / 293.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003746, allocations: 4 kB / 293.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.003796, allocations: 64.98 kB / 293.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.004282, allocations: 0.518 MB / 294 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.004364, allocations: 126.8 kB / 294.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.004401, allocations: 49.84 kB / 294.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.004406, allocations: 0 / 294.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.638e-05/0.004503, allocations: 110.2 kB / 294.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 1.223e-06/0.004504, allocations: 4 kB / 294.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=60): time 0.0003509/0.004855, allocations: 375.6 kB / 294.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.004911, allocations: 103.8 kB / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.004959, allocations: 141.6 kB / 294.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.004999, allocations: 69.67 kB / 295 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.005049, allocations: 145.7 kB / 295.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.005121, allocations: 150.9 kB / 295.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.005244, allocations: 190.5 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.005323, allocations: 346.7 kB / 295.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.005386, allocations: 65.97 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.005586, allocations: 442.2 kB / 296.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.006012, allocations: 0.6095 MB / 296.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.006019, allocations: 7.938 kB / 296.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0004017/0.006421, allocations: 477.5 kB / 297.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.006434, allocations: 12.25 kB / 297.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.006444, allocations: 12 kB / 297.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.00646, allocations: 16 kB / 297.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.006792, allocations: 223.9 kB / 297.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.006807, allocations: 27.86 kB / 297.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.006924, allocations: 71.52 kB / 297.7 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.006949, allocations: 40 kB / 297.8 MB, free: 0.5703 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 113 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],$whenCondition1,$outputAlias_result,$PRE.$outputAlias_result,result,$outputAlias_r2,$PRE.$outputAlias_r2,r2,$outputAlias_r4a,$PRE.$outputAlias_r4a,r4a,$outputAlias_r4b,$PRE.$outputAlias_r4b,r4b,$outputAlias_r4c,$PRE.$outputAlias_r4c,r4c,$outputAlias_r33,$PRE.$outputAlias_r33,r33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * 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.0001301/0.00708, allocations: 240.2 kB / 298 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-06/0.007088, allocations: 3.984 kB / 298 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.00711, allocations: 13.81 kB / 298 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.007111, allocations: 0 / 298 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.007113, allocations: 0 / 298 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007116, allocations: 0 / 298 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.007468, allocations: 0.5622 MB / 298.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.00747, allocations: 4 kB / 298.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.007489, allocations: 8 kB / 298.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007491, allocations: 0 / 298.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.007498, allocations: 3.984 kB / 298.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007498, allocations: 0 / 298.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007499, allocations: 0 / 298.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.007699, allocations: 396.7 kB / 299 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.007712, allocations: 27.72 kB / 299 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.00772, allocations: 4 kB / 299 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.559e-05/0.007745, allocations: 4 kB / 299 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.00776, allocations: 3.984 kB / 299 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.007765, allocations: 8 kB / 299 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.109e-06/0.00777, allocations: 4.859 kB / 299 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00777, allocations: 0 / 299 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.008114, allocations: 131.6 kB / 299.2 MB, free: 15.1 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: 60 ($whenCondition1,result,$outputAlias_result,r2,$outputAlias_r2,r4a,$outputAlias_r4a,r4b,$outputAlias_r4b,r4c,$outputAlias_r4c,r33,$outputAlias_r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006076/0.008721, allocations: 0.8649 MB / 300 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.00896, allocations: 312.8 kB / 300.3 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.008963, allocations: 0.625 kB / 300.3 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.009004, allocations: 70.31 kB / 300.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.125e-05/0.009095, allocations: 0 / 300.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.01045, allocations: 2.048 MB / 302.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.01049, allocations: 97.81 kB / 302.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.01054, allocations: 44.27 kB / 302.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.01063, allocations: 147.3 kB / 302.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01064, allocations: 0 / 302.7 MB, free: 11.35 MB / 298.7 MB Notification: FMU-only work: backend 0.0001624, simCode 0.0007978, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08499/0.09563, allocations: 8.151 MB / 310.9 MB, free: 3.484 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.976/3.072, allocations: 23.75 kB / 310.9 MB, free: 3.465 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_fmu --startTime=0 --stopTime=1.5 --stepSize=0.75 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.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.TestRandomNumbers_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_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.TestRandomNumbers_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1.5 --stepSize=0.75 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.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.TestRandomNumbers_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_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.TestRandomNumbers_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1.5 --stepSize=0.75 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.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.TestRandomNumbers_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv --output-variables result --start-time 0 --stop-time 1.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.75 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 1.5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.75 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_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/TestRandomNumbers/TestRandomNumbers.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 5.770476762205362]