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.00146/0.00146, allocations: 112.1 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.001799/0.001799, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.485/1.485, allocations: 207.6 MB / 235.3 MB, free: 9.988 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.001937/0.001937, allocations: 55.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2868, allocations: 49.16 MB / 396.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002198/0.289, allocations: 1.236 MB / 397.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.2899, allocations: 471.2 kB / 398 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.2899, allocations: 1.188 kB / 398 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.29, allocations: 0.75 kB / 398.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.2905, allocations: 83.91 kB / 398.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.2906, allocations: 69.7 kB / 398.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2908, allocations: 44.81 kB / 398.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.2908, allocations: 2.516 kB / 398.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.2909, allocations: 21.84 kB / 398.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.2909, allocations: 26.92 kB / 398.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2909, allocations: 2.312 kB / 398.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.2913, allocations: 158.6 kB / 398.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.2913, allocations: 32.8 kB / 398.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.2914, allocations: 48.75 kB / 398.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.2917, allocations: 180.8 kB / 398.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2917, allocations: 0 / 398.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2917, allocations: 0 / 398.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2917, allocations: 0 / 398.7 MB, free: 7.793 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.0005608/0.2922, allocations: 0.5005 MB / 399.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2923, allocations: 13.33 kB / 399.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.2923, allocations: 57.31 kB / 399.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2925, allocations: 22.42 kB / 399.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.2925, allocations: 121 kB / 399.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2926, allocations: 7.625 kB / 399.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2926, allocations: 6.375 kB / 399.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2929, allocations: 277.4 kB / 399.7 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2929, allocations: 3.938 kB / 399.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2929, allocations: 6.281 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.293, allocations: 1.469 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2931, allocations: 153.6 kB / 399.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.2934, allocations: 352.8 kB / 400.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.2936, allocations: 194.5 kB / 400.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.2938, allocations: 172.7 kB / 400.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2938, allocations: 0.6562 kB / 400.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.2943, allocations: 495.8 kB / 401.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.2943, allocations: 0 / 401.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.0009836/0.2953, allocations: 0.7501 MB / 401.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.2954, allocations: 164.2 kB / 402 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.2955, allocations: 102.1 kB / 402.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2955, allocations: 27.78 kB / 402.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.2955, allocations: 86.17 kB / 402.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.2956, allocations: 92.58 kB / 402.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.2957, allocations: 46.72 kB / 402.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.2957, allocations: 326.1 kB / 402.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2958, allocations: 86.73 kB / 402.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.296, allocations: 118.7 kB / 402.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.2964, allocations: 442.5 kB / 403.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2964, allocations: 5 kB / 403.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003883/0.2967, allocations: 369 kB / 403.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.2968, allocations: 108.9 kB / 403.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2969, allocations: 0.6094 kB / 403.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.2969, allocations: 1.406 kB / 403.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.297, allocations: 9.734 kB / 403.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.297, allocations: 5.5 kB / 403.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.2971, allocations: 25.34 kB / 403.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2971, allocations: 9.938 kB / 403.8 MB, free: 4.57 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.0002894/0.2974, allocations: 302.9 kB / 404.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.2974, allocations: 34.11 kB / 404.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.2974, allocations: 7.375 kB / 404.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2975, allocations: 0.9688 kB / 404.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.2975, allocations: 1.828 kB / 404.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2975, allocations: 1.062 kB / 404.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.2989, allocations: 1.438 MB / 405.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.299, allocations: 1.375 kB / 405.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.299, allocations: 8.125 kB / 405.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.299, allocations: 1.375 kB / 405.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.299, allocations: 17.39 kB / 405.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.299, allocations: 1.375 kB / 405.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.299, allocations: 0 / 405.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3004, allocations: 1.338 MB / 406.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.3004, allocations: 18.72 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3006, allocations: 70.83 kB / 407 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.3006, allocations: 13.84 kB / 407 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3007, allocations: 12.78 kB / 407 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3007, allocations: 19.36 kB / 407.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.3007, allocations: 87.45 kB / 407.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3007, allocations: 0 / 407.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.3011, allocations: 95.41 kB / 407.2 MB, free: 3.207 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.002407/0.3036, allocations: 2.348 MB / 409.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3048, allocations: 1.072 MB / 410.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3048, allocations: 0 / 410.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.3057, allocations: 0.8996 MB / 411.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.306, allocations: 21.5 kB / 411.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.3094, allocations: 3.305 MB / 414.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.3098, allocations: 0.7243 MB / 415.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.3098, allocations: 6.328 kB / 415.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3099, allocations: 40.61 kB / 415.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3099, allocations: 0 / 415.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.3452, allocations: 5.128 MB / 420.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.5, allocations: 4.062 kB / 420.8 MB, free: 10.33 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 & /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.984044106910005]