Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 179.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008349/0.000835, allocations: 89.88 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00104/0.2259, allocations: 0.9482 MB / 375.5 MB, free: 44.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.2266, allocations: 427 kB / 375.9 MB, free: 44.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.2266, allocations: 0 / 375.9 MB, free: 44.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.2267, allocations: 9.688 kB / 375.9 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.227, allocations: 53.31 kB / 376 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.2272, allocations: 48.11 kB / 376 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.2272, allocations: 36.86 kB / 376.1 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.2273, allocations: 1.531 kB / 376.1 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.2273, allocations: 20.86 kB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.2274, allocations: 23.12 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2274, allocations: 2.25 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.2276, allocations: 108.6 kB / 376.2 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.2276, allocations: 28.91 kB / 376.2 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.2277, allocations: 48.7 kB / 376.3 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2278, allocations: 120.7 kB / 376.4 MB, free: 44.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2279, allocations: 0 / 376.4 MB, free: 44.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2279, allocations: 1.219 kB / 376.4 MB, free: 44.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2279, allocations: 0 / 376.4 MB, free: 44.04 MB / 298.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.0004407/0.2283, allocations: 0.5453 MB / 376.9 MB, free: 43.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2284, allocations: 9.688 kB / 377 MB, free: 43.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2285, allocations: 17.66 kB / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2286, allocations: 184.2 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2286, allocations: 7.219 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2287, allocations: 8.203 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.229, allocations: 284.5 kB / 377.4 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.229, allocations: 0.875 kB / 377.4 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.229, allocations: 2.375 kB / 377.4 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.229, allocations: 0 / 377.4 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.2292, allocations: 155.4 kB / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2293, allocations: 201.2 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.2296, allocations: 489.1 kB / 378.3 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.2299, allocations: 473.5 kB / 378.7 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.2299, allocations: 4.938 kB / 378.7 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.2303, allocations: 484.6 kB / 379.2 MB, free: 41.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.002e-06/0.2303, allocations: 1.438 kB / 379.2 MB, free: 41.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007563/0.2311, allocations: 0.7035 MB / 379.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2312, allocations: 162.3 kB / 380.1 MB, free: 41.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.2312, allocations: 98.7 kB / 380.2 MB, free: 41.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2312, allocations: 27.27 kB / 380.2 MB, free: 41.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.2313, allocations: 82.2 kB / 380.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.2313, allocations: 87.19 kB / 380.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.2313, allocations: 5.344 kB / 380.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.2314, allocations: 331.7 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.2315, allocations: 80.03 kB / 380.8 MB, free: 40.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.2316, allocations: 113.1 kB / 380.9 MB, free: 40.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2317, allocations: 204.1 kB / 381.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2317, allocations: 0 / 381.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003308/0.2321, allocations: 342.7 kB / 381.4 MB, free: 40.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.2322, allocations: 111.5 kB / 381.5 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2322, allocations: 4.094 kB / 381.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2322, allocations: 1.094 kB / 381.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.2322, allocations: 4.969 kB / 381.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2322, allocations: 0.9062 kB / 381.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.2323, allocations: 29.55 kB / 381.6 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2323, allocations: 8.281 kB / 381.6 MB, free: 40.23 MB / 298.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 ($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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.2325, allocations: 293.3 kB / 381.9 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.2326, allocations: 26.31 kB / 381.9 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.2326, allocations: 9.516 kB / 381.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2326, allocations: 1.469 kB / 381.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2326, allocations: 0 / 381.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2326, allocations: 5.359 kB / 381.9 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2327, allocations: 230.9 kB / 382.1 MB, free: 39.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2327, allocations: 1.094 kB / 382.1 MB, free: 39.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.2327, allocations: 1.25 kB / 382.1 MB, free: 39.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2327, allocations: 336 / 382.1 MB, free: 39.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.2328, allocations: 19.33 kB / 382.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2328, allocations: 4.859 kB / 382.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2328, allocations: 1.219 kB / 382.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2339, allocations: 1.232 MB / 383.4 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2339, allocations: 101.9 kB / 383.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.2341, allocations: 64.14 kB / 383.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.2341, allocations: 12.05 kB / 383.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2342, allocations: 13.05 kB / 383.6 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.2342, allocations: 19.3 kB / 383.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.2342, allocations: 83.19 kB / 383.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2342, allocations: 0 / 383.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.2345, allocations: 90.77 kB / 383.8 MB, free: 38.93 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000511/0.2351, allocations: 312.8 kB / 384.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.2362, allocations: 2.124 MB / 386.2 MB, free: 36.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2362, allocations: 0 / 386.2 MB, free: 36.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000928/0.2371, allocations: 2.182 MB / 388.4 MB, free: 34.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.2373, allocations: 23.94 kB / 388.4 MB, free: 34.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.2378, allocations: 441.8 kB / 388.8 MB, free: 34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.238, allocations: 0.7247 MB / 389.6 MB, free: 33.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.238, allocations: 7.438 kB / 389.6 MB, free: 33.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.238, allocations: 0 / 389.6 MB, free: 33.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003714/0.2417, allocations: 2.843 MB / 392.4 MB, free: 30.4 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches