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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.6 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001169/0.001169, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07219, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001973/0.07419, allocations: 1.229 MB / 377.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.07506, allocations: 458.4 kB / 377.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.07511, allocations: 3.938 kB / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.07515, allocations: 0 / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.07561, allocations: 71.73 kB / 377.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.07576, allocations: 75.73 kB / 377.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.07587, allocations: 39.91 kB / 377.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.07591, allocations: 4 kB / 377.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.07595, allocations: 27.84 kB / 377.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.07599, allocations: 23.91 kB / 377.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.07601, allocations: 4 kB / 377.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.07624, allocations: 115.8 kB / 377.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.07629, allocations: 31.92 kB / 377.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.07635, allocations: 55.59 kB / 377.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.07659, allocations: 171.5 kB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.0766, allocations: 0 / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07661, allocations: 4 kB / 378.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.07662, allocations: 0 / 378.1 MB, free: 2.27 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.0005236/0.07715, allocations: 0.5645 MB / 378.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.07719, allocations: 12.03 kB / 378.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.07732, allocations: 20.73 kB / 378.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.07744, allocations: 172.3 kB / 378.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.07746, allocations: 8.312 kB / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.07748, allocations: 4.375 kB / 378.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.07776, allocations: 287.8 kB / 379.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.07777, allocations: 192 / 379.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.07779, allocations: 3.938 kB / 379.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.0778, allocations: 4 kB / 379.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.07794, allocations: 143.9 kB / 379.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.07812, allocations: 202.2 kB / 379.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.07846, allocations: 493.2 kB / 380 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1438/0.2223, allocations: 466 kB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2224, allocations: 1.281 kB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.2228, allocations: 485.5 kB / 380.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.234e-06/0.2228, allocations: 1.031 kB / 380.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008064/0.2237, allocations: 0.7087 MB / 381.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.2237, allocations: 161.8 kB / 381.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.2238, allocations: 104.9 kB / 381.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2238, allocations: 27.7 kB / 381.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.2239, allocations: 87.62 kB / 382 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.2239, allocations: 89.88 kB / 382.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.224, allocations: 39.22 kB / 382.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.2241, allocations: 328 kB / 382.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2242, allocations: 81.22 kB / 382.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.2243, allocations: 108.5 kB / 382.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.2246, allocations: 415.2 kB / 383.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2246, allocations: 0.5312 kB / 383.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003336/0.225, allocations: 354.5 kB / 383.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.2251, allocations: 111.5 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2251, allocations: 2.188 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2251, allocations: 1.5 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.2251, allocations: 1.859 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2251, allocations: 3.75 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.2252, allocations: 26.92 kB / 383.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2252, allocations: 7.906 kB / 383.6 MB, free: 11.66 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],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.0002097/0.2254, allocations: 298 kB / 383.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2255, allocations: 25.64 kB / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.2255, allocations: 18.66 kB / 383.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2255, allocations: 1.156 kB / 383.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2255, allocations: 3.062 kB / 383.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.2255, allocations: 93.86 kB / 384 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2257, allocations: 66.72 kB / 384 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.2257, allocations: 9.719 kB / 384.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2258, allocations: 14.44 kB / 384.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001536/0.2273, allocations: 2.007 MB / 386.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001146/0.2285, allocations: 1.43 MB / 387.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007031/0.2292, allocations: 1.497 MB / 389 MB, free: 8.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.213e-05/0.2292, allocations: 83.58 kB / 389.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of Backend: time 3.81e-07/0.2292, allocations: 0 / 389.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.231, allocations: 2.114 MB / 391.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009084/0.2319, allocations: 1.391 MB / 392.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Templates: time 0.006524/0.2384, allocations: 3.286 MB / 395.9 MB, free: 6.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) 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) Reference file matches