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.001253/0.001253, 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.001467/0.001467, allocations: 214.8 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.386/1.386, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001742/0.001742, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2467, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001954/0.2486, allocations: 1.233 MB / 397.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008182/0.2495, allocations: 444.3 kB / 398 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.2495, allocations: 0 / 398 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.2495, allocations: 6.016 kB / 398 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.2499, allocations: 84.77 kB / 398.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2501, allocations: 64.3 kB / 398.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.2501, allocations: 44.58 kB / 398.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.2502, allocations: 3.547 kB / 398.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.2502, allocations: 21.14 kB / 398.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.2502, allocations: 19.47 kB / 398.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2503, allocations: 2.125 kB / 398.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.2505, allocations: 158.6 kB / 398.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.2506, allocations: 29.23 kB / 398.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.2506, allocations: 41.31 kB / 398.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2509, allocations: 189.5 kB / 398.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2509, allocations: 0 / 398.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2509, allocations: 0 / 398.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.2509, allocations: 1.281 kB / 398.7 MB, free: 7.52 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.0004252/0.2513, allocations: 484.2 kB / 399.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2513, allocations: 14.08 kB / 399.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.2514, allocations: 53.59 kB / 399.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2515, allocations: 29.8 kB / 399.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.2516, allocations: 125.6 kB / 399.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2516, allocations: 2.656 kB / 399.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2516, allocations: 6.031 kB / 399.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.252, allocations: 404.1 kB / 399.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.252, allocations: 5.25 kB / 399.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.252, allocations: 2.094 kB / 399.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.252, allocations: 5.328 kB / 399.8 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.2522, allocations: 262.9 kB / 400 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.2524, allocations: 354.9 kB / 400.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2527, allocations: 307.7 kB / 400.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2529, allocations: 290.3 kB / 401 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2529, allocations: 5.156 kB / 401 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.2534, allocations: 0.5783 MB / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.042e-06/0.2534, allocations: 1.188 kB / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.0009769/0.2544, allocations: 0.993 MB / 402.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2544, allocations: 160.7 kB / 402.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.2545, allocations: 103.4 kB / 402.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.2545, allocations: 27.02 kB / 402.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.2545, allocations: 83.41 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.2545, allocations: 100.1 kB / 403 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.2546, allocations: 43.77 kB / 403 MB, free: 4.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.2546, allocations: 329 kB / 403.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2548, allocations: 205.7 kB / 403.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.255, allocations: 237.1 kB / 403.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2553, allocations: 490.2 kB / 404.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2553, allocations: 7.875 kB / 404.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004045/0.2557, allocations: 0.5016 MB / 404.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.2558, allocations: 111.3 kB / 404.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2558, allocations: 1.375 kB / 404.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2558, allocations: 0 / 404.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.2559, allocations: 9.531 kB / 404.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2559, allocations: 3.953 kB / 404.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.2559, allocations: 25.41 kB / 404.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.256, allocations: 9.625 kB / 404.9 MB, free: 3.453 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.0001843/0.2562, allocations: 281.7 kB / 405.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.2562, allocations: 29.73 kB / 405.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2562, allocations: 8.438 kB / 405.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2562, allocations: 1.375 kB / 405.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2562, allocations: 1.375 kB / 405.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2562, allocations: 0.5625 kB / 405.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.2571, allocations: 1.056 MB / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2571, allocations: 0 / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.2572, allocations: 6.359 kB / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2572, allocations: 4 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2572, allocations: 19.39 kB / 406.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2572, allocations: 0 / 406.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2572, allocations: 1.734 kB / 406.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.2581, allocations: 1.004 MB / 407.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.2582, allocations: 18.66 kB / 407.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2583, allocations: 66.8 kB / 407.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.2583, allocations: 8.531 kB / 407.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2584, allocations: 17.53 kB / 407.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.2584, allocations: 23.19 kB / 407.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.255e-05/0.2584, allocations: 84.56 kB / 407.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2584, allocations: 4 kB / 407.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.2588, allocations: 95.34 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.001901/0.2607, allocations: 2.158 MB / 409.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007781/0.2615, allocations: 0.8706 MB / 410.7 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2615, allocations: 3.938 kB / 410.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.2619, allocations: 0.5313 MB / 411.2 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2622, allocations: 24.08 kB / 411.2 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.2661, allocations: 3.554 MB / 414.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2662, allocations: 112.3 kB / 414.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.2663, allocations: 5.438 kB / 414.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.2663, allocations: 37.64 kB / 414.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2663, allocations: 0 / 414.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.3084, allocations: 5.427 MB / 420.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.03, allocations: 0 / 420.4 MB, free: 10.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --timeout=50 --tolerance=1e-06 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.mat","/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.333257914986461]