Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.001342/0.001342, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 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.001461/0.001461, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 52.2 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2927, allocations: 49.17 MB / 396.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00217/0.2949, allocations: 1.233 MB / 397.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000936/0.2958, allocations: 475.1 kB / 398 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2959, allocations: 5.562 kB / 398.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.2959, allocations: 0.6562 kB / 398.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.2964, allocations: 79.61 kB / 398.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.2965, allocations: 65.42 kB / 398.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.864e-05/0.2966, allocations: 45.03 kB / 398.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.2967, allocations: 2.281 kB / 398.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.2967, allocations: 25.03 kB / 398.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.2968, allocations: 19.81 kB / 398.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2968, allocations: 2.594 kB / 398.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.2971, allocations: 158.9 kB / 398.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.2971, allocations: 33.05 kB / 398.5 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2972, allocations: 55 kB / 398.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2975, allocations: 176.7 kB / 398.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2975, allocations: 5.062 kB / 398.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2975, allocations: 0 / 398.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2975, allocations: 0 / 398.7 MB, free: 7.758 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005483/0.2981, allocations: 0.4953 MB / 399.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2981, allocations: 14.02 kB / 399.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/0.2982, allocations: 61.75 kB / 399.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.2983, allocations: 25.62 kB / 399.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2984, allocations: 129.8 kB / 399.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2985, allocations: 3.984 kB / 399.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2985, allocations: 5.531 kB / 399.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2989, allocations: 282.2 kB / 399.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2989, allocations: 3.938 kB / 399.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2989, allocations: 6.344 kB / 399.7 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2989, allocations: 1.188 kB / 399.7 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.2991, allocations: 152.7 kB / 399.9 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.2995, allocations: 344.7 kB / 400.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.2997, allocations: 194.6 kB / 400.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.3, allocations: 164.2 kB / 400.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3, allocations: 5.703 kB / 400.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005436/0.3005, allocations: 495.2 kB / 401 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.232e-06/0.3005, allocations: 5.531 kB / 401.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001114/0.3017, allocations: 0.7522 MB / 401.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.3017, allocations: 156.6 kB / 402 MB, free: 5.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.3018, allocations: 106.8 kB / 402.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3018, allocations: 30.89 kB / 402.1 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.3019, allocations: 87.02 kB / 402.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.3019, allocations: 91.72 kB / 402.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.302, allocations: 47.69 kB / 402.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.3021, allocations: 328.9 kB / 402.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3022, allocations: 84.12 kB / 402.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3023, allocations: 113.5 kB / 402.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3027, allocations: 443.1 kB / 403.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3027, allocations: 3.938 kB / 403.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003838/0.3031, allocations: 365.8 kB / 403.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.3032, allocations: 108.8 kB / 403.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3032, allocations: 0.6562 kB / 403.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3032, allocations: 5.188 kB / 403.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.3033, allocations: 9.812 kB / 403.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3033, allocations: 1.406 kB / 403.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.3034, allocations: 31.03 kB / 403.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3034, allocations: 8.781 kB / 403.8 MB, free: 4.531 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 49 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$outputAlias_r1024,r1024,$outputAlias_r128,r128,$outputAlias_r64,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0002637/0.3037, allocations: 299.2 kB / 404.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3037, allocations: 33.89 kB / 404.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.3037, allocations: 15.86 kB / 404.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3037, allocations: 1.531 kB / 404.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3037, allocations: 0.7031 kB / 404.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3037, allocations: 1.531 kB / 404.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.305, allocations: 1.433 MB / 405.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.305, allocations: 0 / 405.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.3051, allocations: 5.5 kB / 405.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3051, allocations: 0 / 405.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.3051, allocations: 18.72 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3051, allocations: 8.625 kB / 405.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3051, allocations: 1.375 kB / 405.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.3066, allocations: 1.342 MB / 406.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.3066, allocations: 22.5 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3067, allocations: 67.69 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.3068, allocations: 8.984 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3069, allocations: 12.64 kB / 407 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3069, allocations: 22.92 kB / 407.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.103e-05/0.3069, allocations: 84.12 kB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3069, allocations: 0 / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.3074, allocations: 95.98 kB / 407.2 MB, free: 3.164 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,rImpure,iImpure,$whenCondition2,r64,$outputAlias_r64,r128,$outputAlias_r128,r1024,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.002421/0.3098, allocations: 2.335 MB / 409.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3109, allocations: 1.071 MB / 410.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3109, allocations: 1.344 kB / 410.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.3117, allocations: 0.9035 MB / 411.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3119, allocations: 23.5 kB / 411.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3151, allocations: 3.308 MB / 414.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3155, allocations: 0.7293 MB / 415.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.3155, allocations: 1.5 kB / 415.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.3156, allocations: 37.17 kB / 415.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3156, allocations: 0 / 415.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/0.3557, allocations: 5.124 MB / 420.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 12.05 kB / 420.8 MB, free: 10.31 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000396747 Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers.fmu > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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: 13.809279635999701]