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.001098/0.001098, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002591, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008013/0.0008013, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000946/0.001747, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9238/0.9238, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1865/1.11, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.524e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001591/0.001606, allocations: 1.298 MB / 223.3 MB, free: 14.74 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.002239, allocations: 470.2 kB / 223.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.00227, allocations: 0 / 223.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.00229, allocations: 7.875 kB / 223.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.002619, allocations: 71.66 kB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.002731, allocations: 67.67 kB / 223.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.002827, allocations: 39.86 kB / 223.9 MB, free: 14.1 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.00287, allocations: 7.984 kB / 223.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.002938, allocations: 23.97 kB / 224 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.002976, allocations: 23.91 kB / 224 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.00299, allocations: 4 kB / 224 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.003255, allocations: 155.6 kB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.003303, allocations: 31.94 kB / 224.2 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.00334, allocations: 27.88 kB / 224.2 MB, free: 13.83 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.003569, allocations: 183.3 kB / 224.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.504e-05/0.003584, allocations: 0 / 224.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003585, allocations: 0 / 224.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.003598, allocations: 0 / 224.4 MB, free: 13.65 MB / 234.7 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.0005865/0.004184, allocations: 469.8 kB / 224.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.00422, allocations: 8.031 kB / 224.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.004392, allocations: 106 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.00451, allocations: 125.6 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.004524, allocations: 384 / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.004539, allocations: 4.375 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.004759, allocations: 294.1 kB / 225.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004767, allocations: 192 / 225.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004778, allocations: 4.375 kB / 225.4 MB, free: 12.55 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.004785, allocations: 384 / 225.4 MB, free: 12.55 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.00489, allocations: 193.9 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.005003, allocations: 92.55 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.005203, allocations: 220.6 kB / 225.9 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.005358, allocations: 201 kB / 226.1 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.005365, allocations: 4 kB / 226.1 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.005702, allocations: 474.1 kB / 226.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 8.72e-07/0.005703, allocations: 0 / 226.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005353/0.006238, allocations: 0.7535 MB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.006394, allocations: 374.7 kB / 227.6 MB, free: 10.02 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.006476, allocations: 106.7 kB / 227.8 MB, free: 9.906 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.006489, allocations: 25.7 kB / 227.8 MB, free: 9.875 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.006516, allocations: 93.17 kB / 227.9 MB, free: 9.781 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.006583, allocations: 91.25 kB / 228 MB, free: 9.691 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.006629, allocations: 37.67 kB / 228 MB, free: 9.648 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.006723, allocations: 330.7 kB / 228.3 MB, free: 9.316 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.006813, allocations: 166.5 kB / 228.5 MB, free: 9.141 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.006915, allocations: 185.5 kB / 228.7 MB, free: 8.941 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.007124, allocations: 374 kB / 229 MB, free: 8.543 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007127, allocations: 3.938 kB / 229 MB, free: 8.539 MB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002921/0.007419, allocations: 447.1 kB / 229.5 MB, free: 8.07 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.007497, allocations: 107.3 kB / 229.6 MB, free: 7.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007504, allocations: 96 / 229.6 MB, free: 7.953 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.007524, allocations: 4 kB / 229.6 MB, free: 7.949 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.007527, allocations: 4 kB / 229.6 MB, free: 7.945 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.007532, allocations: 0 / 229.6 MB, free: 7.945 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.007574, allocations: 23.78 kB / 229.6 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.00759, allocations: 11.94 kB / 229.6 MB, free: 7.91 MB / 234.7 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],r1024,r128,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 (2): * Single equations (assignments): 0 * 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.0001609/0.007751, allocations: 266.5 kB / 229.9 MB, free: 7.629 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.007789, allocations: 44.3 kB / 229.9 MB, free: 7.586 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262e-05/0.007802, allocations: 5.656 kB / 229.9 MB, free: 7.582 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.007806, allocations: 11.92 kB / 229.9 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.007808, allocations: 0 / 229.9 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007811, allocations: 0 / 229.9 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.007911, allocations: 101.7 kB / 230 MB, free: 7.453 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.007918, allocations: 0 / 230 MB, free: 7.453 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.007918, allocations: 0 / 230 MB, free: 7.453 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.007935, allocations: 31.83 kB / 230.1 MB, free: 7.422 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.007936, allocations: 0 / 230.1 MB, free: 7.422 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.007951, allocations: 12 kB / 230.1 MB, free: 7.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007953, allocations: 4 kB / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007954, allocations: 0 / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.008407, allocations: 0.7181 MB / 230.8 MB, free: 6.641 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.008474, allocations: 59.94 kB / 230.9 MB, free: 6.582 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.008512, allocations: 8 kB / 230.9 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.008542, allocations: 15.92 kB / 230.9 MB, free: 6.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.008557, allocations: 15.94 kB / 230.9 MB, free: 6.543 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.719e-05/0.008575, allocations: 16.88 kB / 230.9 MB, free: 6.523 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008575, allocations: 0 / 230.9 MB, free: 6.523 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.008781, allocations: 87.94 kB / 231 MB, free: 6.438 MB / 234.7 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 ($whenCondition2,r64,r128,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],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * 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.0006507/0.009431, allocations: 344.7 kB / 231.3 MB, free: 6.133 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005186/0.00995, allocations: 0.674 MB / 232 MB, free: 5.406 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.009958, allocations: 4 kB / 232 MB, free: 5.402 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.01021, allocations: 467.5 kB / 232.5 MB, free: 4.906 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.01037, allocations: 59.91 kB / 232.5 MB, free: 4.848 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.011, allocations: 425.9 kB / 232.9 MB, free: 4.387 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.01105, allocations: 80.27 kB / 233 MB, free: 4.285 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.031e-05/0.01106, allocations: 0 / 233 MB, free: 4.285 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.0112, allocations: 123.3 kB / 233.1 MB, free: 4.164 MB / 234.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0112, allocations: 0 / 233.1 MB, free: 4.164 MB / 234.7 MB Notification: Performance of Templates: time 0.00682/0.01802, allocations: 3.396 MB / 236.5 MB, free: 0.7578 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.764882086776197]