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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 109.3 kB / 18.44 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 193.2 kB / 21.39 MB, free: 1.652 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.426/1.426, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09873, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002502/0.1012, allocations: 1.231 MB / 392.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1022, allocations: 472.6 kB / 393.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.1023, allocations: 0 / 393.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.1023, allocations: 3.938 kB / 393.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.1028, allocations: 71.73 kB / 393.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1029, allocations: 67.8 kB / 393.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.103, allocations: 39.91 kB / 393.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1031, allocations: 0 / 393.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.1031, allocations: 27.91 kB / 393.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.1031, allocations: 23.92 kB / 393.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1031, allocations: 0 / 393.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.1034, allocations: 127.8 kB / 393.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1034, allocations: 31.91 kB / 393.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1035, allocations: 55.61 kB / 393.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1038, allocations: 183.5 kB / 393.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.1038, allocations: 0 / 393.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1038, allocations: 0 / 393.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1038, allocations: 0 / 393.7 MB, free: 6.414 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.0006512/0.1045, allocations: 0.5682 MB / 394.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.1045, allocations: 12.03 kB / 394.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.697e-05/0.1046, allocations: 58.67 kB / 394.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1048, allocations: 20.84 kB / 394.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1049, allocations: 180.2 kB / 394.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1049, allocations: 4.375 kB / 394.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.105, allocations: 8.375 kB / 394.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.1053, allocations: 282.8 kB / 394.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1053, allocations: 3.938 kB / 394.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1053, allocations: 8 kB / 394.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1053, allocations: 0 / 394.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.1055, allocations: 148.3 kB / 395 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1059, allocations: 381.6 kB / 395.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1061, allocations: 193.5 kB / 395.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.1063, allocations: 166.1 kB / 395.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1063, allocations: 4 kB / 395.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005617/0.1069, allocations: 486.8 kB / 396.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.472e-06/0.1069, allocations: 0 / 396.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001068/0.108, allocations: 0.7644 MB / 396.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.1081, allocations: 160.5 kB / 397.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1082, allocations: 105.8 kB / 397.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1082, allocations: 25.7 kB / 397.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.1083, allocations: 81.14 kB / 397.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1084, allocations: 115.1 kB / 397.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.1085, allocations: 37.7 kB / 397.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1086, allocations: 330.8 kB / 397.8 MB, free: 2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1088, allocations: 84.41 kB / 397.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1089, allocations: 132.2 kB / 398 MB, free: 1.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.1093, allocations: 428.9 kB / 398.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1093, allocations: 3.938 kB / 398.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004373/0.1098, allocations: 364.5 kB / 398.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1099, allocations: 111.3 kB / 398.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.1099, allocations: 3.984 kB / 398.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1099, allocations: 4 kB / 398.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.11, allocations: 4 kB / 398.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.11, allocations: 4.031 kB / 398.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.11, allocations: 23.84 kB / 398.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1101, allocations: 8 kB / 398.9 MB, free: 0.7891 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: 46 (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,$outputAlias_r128,$outputAlias_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.0003117/0.1104, allocations: 295.7 kB / 399.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1104, allocations: 27.91 kB / 399.2 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.1105, allocations: 9.562 kB / 399.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1105, allocations: 0 / 399.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1105, allocations: 4 kB / 399.2 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1105, allocations: 0 / 399.2 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.1121, allocations: 1.471 MB / 400.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1121, allocations: 0 / 400.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.1121, allocations: 4 kB / 400.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1121, allocations: 4 kB / 400.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.1122, allocations: 19.98 kB / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1122, allocations: 0 / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1122, allocations: 0 / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.1137, allocations: 1.343 MB / 402.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.1138, allocations: 96.95 kB / 402.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.1139, allocations: 67.94 kB / 402.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.114, allocations: 12 kB / 402.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.114, allocations: 19.95 kB / 402.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.114, allocations: 16 kB / 402.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.1141, allocations: 87.2 kB / 402.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1141, allocations: 0 / 402.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.1145, allocations: 87.94 kB / 402.5 MB, free: 13.1 MB / 334.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: 46 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$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.002658/0.1171, allocations: 2.355 MB / 404.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1183, allocations: 1.074 MB / 405.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1183, allocations: 0 / 405.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008976/0.1192, allocations: 0.8967 MB / 406.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1195, allocations: 23.94 kB / 406.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.1233, allocations: 3.335 MB / 410.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1237, allocations: 0.7241 MB / 410.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.1237, allocations: 0 / 410.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.1238, allocations: 43.36 kB / 410.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1238, allocations: 4 kB / 410.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.1527, allocations: 4.771 MB / 415.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.173, allocations: 7.844 kB / 415.7 MB, free: 15.58 MB / 350.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.52387601416558]