Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 199.9 kB / 8.536 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008365/0.0008365, allocations: 92.62 kB / 286.3 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.136e-06/8.156e-06, allocations: 4 kB / 343.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09664, allocations: 51.48 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.3396, allocations: 76.3 MB / 470.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001516/0.3398, allocations: 64.83 kB / 471 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006834/0.3466, allocations: 2.663 MB / 473.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3466, allocations: 0.5938 kB / 473.7 MB, free: 13.53 MB / 346.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.0004515/0.3471, allocations: 0.5569 MB / 474.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3472, allocations: 8.031 kB / 474.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3473, allocations: 15.81 kB / 474.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3475, allocations: 182.2 kB / 474.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3475, allocations: 0 / 474.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3475, allocations: 4 kB / 474.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000141/0.3477, allocations: 142.4 kB / 474.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3479, allocations: 279.9 kB / 474.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.348, allocations: 0 / 474.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.348, allocations: 4 kB / 474.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.348, allocations: 0 / 474.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3482, allocations: 173.7 kB / 475 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3484, allocations: 491.4 kB / 475.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.3487, allocations: 475.2 kB / 475.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.3487, allocations: 3.875 kB / 475.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.3491, allocations: 464.4 kB / 476.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.312e-06/0.3491, allocations: 3.938 kB / 476.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.000612/0.3497, allocations: 0.5522 MB / 477 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.3498, allocations: 155.8 kB / 477.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.3498, allocations: 100.5 kB / 477.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3498, allocations: 25.7 kB / 477.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.3499, allocations: 83.98 kB / 477.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3499, allocations: 83.75 kB / 477.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.3499, allocations: 3.281 kB / 477.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.35, allocations: 336.2 kB / 477.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.3501, allocations: 82.05 kB / 477.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.3501, allocations: 106.4 kB / 477.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3503, allocations: 109 kB / 478 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3503, allocations: 0 / 478 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003053/0.3506, allocations: 415.5 kB / 478.4 MB, free: 9.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3506, allocations: 4 kB / 478.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3506, allocations: 0 / 478.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3506, allocations: 4 kB / 478.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3506, allocations: 0 / 478.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3506, allocations: 0 / 478.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.3507, allocations: 15.75 kB / 478.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3507, allocations: 4.188 kB / 478.4 MB, free: 9.73 MB / 346.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 () * 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.0001677/0.3509, allocations: 267.4 kB / 478.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.3509, allocations: 27.81 kB / 478.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.3509, allocations: 17.33 kB / 478.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.351, allocations: 3.938 kB / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.351, allocations: 0 / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.351, allocations: 2.938 kB / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3511, allocations: 211 kB / 479 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3511, allocations: 0 / 479 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3511, allocations: 0 / 479 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3511, allocations: 4 kB / 479 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.3512, allocations: 25.39 kB / 479 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3512, allocations: 0 / 479 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3512, allocations: 0 / 479 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006295/0.3518, allocations: 0.7384 MB / 479.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.3518, allocations: 92.86 kB / 479.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.352, allocations: 84 kB / 479.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.352, allocations: 8 kB / 479.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3521, allocations: 15.28 kB / 479.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.3521, allocations: 31.14 kB / 480 MB, free: 8.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.902e-05/0.3522, allocations: 82.09 kB / 480 MB, free: 8.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.3525, allocations: 94.03 kB / 480.1 MB, free: 8.277 MB / 346.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) * 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.0005185/0.353, allocations: 297.5 kB / 480.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.3534, allocations: 0.5019 MB / 480.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3534, allocations: 0 / 480.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.3545, allocations: 2.152 MB / 483.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.3546, allocations: 15.91 kB / 483.1 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.355, allocations: 296 kB / 483.4 MB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3552, allocations: 0.7324 MB / 484.1 MB, free: 5.898 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3552, allocations: 4.125 kB / 484.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of Templates: time 0.00506/0.3603, allocations: 3.252 MB / 487.4 MB, free: 3.039 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches