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/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_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") [: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 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.1 kB / 8.478 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.2 MB / 214.1 MB, free: 1.832 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008638, allocations: 87.39 kB / 262.1 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.582e-06, allocations: 0 / 315 MB, free: 23.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08662, allocations: 47.58 MB / 362.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.3063, allocations: 74.85 MB / 437.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.3065, allocations: 64.28 kB / 437.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007516/0.3141, allocations: 2.637 MB / 440.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3141, allocations: 4 kB / 440.1 MB, free: 2.309 MB / 314.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.0003939/0.3145, allocations: 0.5531 MB / 440.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.3145, allocations: 8.031 kB / 440.7 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3146, allocations: 19.81 kB / 440.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3148, allocations: 182.8 kB / 440.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3148, allocations: 3.938 kB / 440.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3148, allocations: 4 kB / 440.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.315, allocations: 143.5 kB / 441 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3153, allocations: 274 kB / 441.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.3153, allocations: 3.938 kB / 441.3 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3153, allocations: 4 kB / 441.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3153, allocations: 7.922 kB / 441.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3155, allocations: 180.5 kB / 441.5 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.3157, allocations: 495.5 kB / 441.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.316, allocations: 467.4 kB / 442.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.316, allocations: 0 / 442.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.3163, allocations: 474 kB / 442.9 MB, free: 96 kB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 9.52e-07/0.3163, allocations: 0 / 442.9 MB, free: 96 kB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006087/0.3169, allocations: 0.5473 MB / 443.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.317, allocations: 164 kB / 443.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.3171, allocations: 96.5 kB / 443.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3171, allocations: 25.7 kB / 443.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.3171, allocations: 80.92 kB / 443.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.3172, allocations: 93.08 kB / 443.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3172, allocations: 4 kB / 443.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3173, allocations: 334.1 kB / 444.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.3174, allocations: 74.23 kB / 444.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.3175, allocations: 105.2 kB / 444.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3176, allocations: 107.4 kB / 444.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3176, allocations: 3.938 kB / 444.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003574/0.318, allocations: 420.2 kB / 444.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.318, allocations: 8.094 kB / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.318, allocations: 4 kB / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.318, allocations: 0 / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3181, allocations: 0 / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3181, allocations: 0 / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.3181, allocations: 15.75 kB / 444.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3181, allocations: 4 kB / 444.9 MB, free: 14.2 MB / 330.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.0001986/0.3183, allocations: 265.1 kB / 445.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.3184, allocations: 31.8 kB / 445.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.3184, allocations: 9.344 kB / 445.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3184, allocations: 0 / 445.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3184, allocations: 0 / 445.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3184, allocations: 4 kB / 445.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3186, allocations: 208.2 kB / 445.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3186, allocations: 0.5 kB / 445.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3186, allocations: 0 / 445.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3186, allocations: 4 kB / 445.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.3186, allocations: 19.48 kB / 445.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3187, allocations: 4 kB / 445.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3187, allocations: 0 / 445.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007447/0.3194, allocations: 0.7523 MB / 446.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3195, allocations: 99.86 kB / 446.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.3196, allocations: 79.86 kB / 446.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.3197, allocations: 11.98 kB / 446.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3197, allocations: 7.812 kB / 446.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3198, allocations: 31.09 kB / 446.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.423e-05/0.3198, allocations: 87.44 kB / 446.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.3201, allocations: 83.31 kB / 446.6 MB, free: 12.59 MB / 330.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.0005116/0.3207, allocations: 301 kB / 446.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.3211, allocations: 0.5111 MB / 447.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3211, allocations: 0 / 447.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.3223, allocations: 2.144 MB / 449.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.3225, allocations: 11.91 kB / 449.6 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.3229, allocations: 298.2 kB / 449.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.3232, allocations: 0.7359 MB / 450.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3232, allocations: 3.938 kB / 450.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of Templates: time 0.005397/0.3286, allocations: 3.256 MB / 453.8 MB, free: 6.672 MB / 330.7 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/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_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches