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.001391/0.001391, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001499/0.001499, allocations: 215 kB / 24.47 MB, free: 3.777 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.506/1.506, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001902/0.001902, allocations: 57.64 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002367/0.2904, allocations: 1.226 MB / 397.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2915, allocations: 449.8 kB / 398 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.2915, allocations: 0 / 398 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.2915, allocations: 5.406 kB / 398 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00055/0.2921, allocations: 83.44 kB / 398.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.2922, allocations: 66.28 kB / 398.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2924, allocations: 39.69 kB / 398.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.2924, allocations: 6.203 kB / 398.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.2925, allocations: 21.77 kB / 398.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.2925, allocations: 19.95 kB / 398.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2925, allocations: 1.281 kB / 398.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.2929, allocations: 159.4 kB / 398.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.293, allocations: 28.23 kB / 398.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.2931, allocations: 41.39 kB / 398.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.2934, allocations: 190.5 kB / 398.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2934, allocations: 0 / 398.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2934, allocations: 1.094 kB / 398.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2934, allocations: 0 / 398.7 MB, free: 7.523 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.0005936/0.294, allocations: 484.5 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.294, allocations: 13.33 kB / 399.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.2941, allocations: 53.61 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.2943, allocations: 30.34 kB / 399.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.2944, allocations: 121.4 kB / 399.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2945, allocations: 7 kB / 399.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2945, allocations: 5.875 kB / 399.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.2949, allocations: 404.9 kB / 399.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2949, allocations: 3.938 kB / 399.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2949, allocations: 2.531 kB / 399.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2949, allocations: 1.125 kB / 399.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.2952, allocations: 262.6 kB / 400 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.2954, allocations: 350.1 kB / 400.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.2957, allocations: 316.9 kB / 400.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.296, allocations: 290.4 kB / 401 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.296, allocations: 5.188 kB / 401 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/0.2965, allocations: 0.5828 MB / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.092e-06/0.2965, allocations: 0 / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001162/0.2977, allocations: 0.9944 MB / 402.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.2977, allocations: 160.8 kB / 402.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.2978, allocations: 102.6 kB / 402.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2978, allocations: 26.89 kB / 402.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.2978, allocations: 82.98 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.2979, allocations: 100.4 kB / 403 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.2979, allocations: 43.56 kB / 403 MB, free: 4.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.298, allocations: 330.3 kB / 403.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.2982, allocations: 203.7 kB / 403.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.2984, allocations: 238.7 kB / 403.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.2988, allocations: 485.6 kB / 404.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2988, allocations: 3.938 kB / 404.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004938/0.2993, allocations: 0.5001 MB / 404.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2994, allocations: 112.8 kB / 404.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2994, allocations: 3.938 kB / 404.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2995, allocations: 1.281 kB / 404.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.2995, allocations: 10.78 kB / 404.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2995, allocations: 0 / 404.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.2996, allocations: 27.28 kB / 404.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2996, allocations: 8.906 kB / 404.9 MB, free: 3.457 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.0002544/0.2999, allocations: 284.2 kB / 405.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.2999, allocations: 29.7 kB / 405.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.3, allocations: 7.438 kB / 405.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3, allocations: 1.938 kB / 405.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3, allocations: 1.125 kB / 405.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3, allocations: 0 / 405.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.301, allocations: 1.057 MB / 406.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.301, allocations: 0 / 406.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.301, allocations: 5.297 kB / 406.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.301, allocations: 5.375 kB / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.3011, allocations: 17.86 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3011, allocations: 1.375 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3011, allocations: 0.75 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3021, allocations: 1.001 MB / 407.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3021, allocations: 18.16 kB / 407.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.3022, allocations: 67.12 kB / 407.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.3023, allocations: 8.828 kB / 407.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3024, allocations: 17.09 kB / 407.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3024, allocations: 22.58 kB / 407.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.3025, allocations: 88.75 kB / 407.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3025, allocations: 5.219 kB / 407.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.3029, allocations: 98.55 kB / 407.7 MB, free: 2.074 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.00243/0.3053, allocations: 2.15 MB / 409.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000936/0.3063, allocations: 0.8743 MB / 410.7 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3063, allocations: 0 / 410.7 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3067, allocations: 0.5356 MB / 411.2 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.307, allocations: 20.7 kB / 411.2 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.3112, allocations: 3.557 MB / 414.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3113, allocations: 112.6 kB / 414.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.3113, allocations: 2.219 kB / 414.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.3114, allocations: 36.48 kB / 414.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3114, allocations: 0 / 414.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.3461, allocations: 5.425 MB / 420.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.62, allocations: 4.062 kB / 420.4 MB, free: 10.11 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.175766044761986]