Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [: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.001069/0.001069, allocations: 179.2 kB / 8.476 MB, free: 1.871 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.32/1.32, allocations: 205.2 MB / 214.1 MB, free: 5.23 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.0009182/0.0009181, allocations: 109.9 kB / 262.1 MB, free: 5.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.975e-06, allocations: 4 kB / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0794/0.07942, allocations: 47.57 MB / 362.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.3359, allocations: 74.47 MB / 437 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3361, allocations: 65.38 kB / 437.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.004715/0.3409, allocations: 1.662 MB / 438.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3409, allocations: 3.938 kB / 438.7 MB, free: 10.43 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002643/0.3412, allocations: 334.6 kB / 439.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3412, allocations: 13.23 kB / 439.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.3412, allocations: 8.469 kB / 439.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.3413, allocations: 170.7 kB / 439.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3414, allocations: 5.469 kB / 439.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3414, allocations: 0 / 439.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.254e-05/0.3414, allocations: 3.812 kB / 439.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.28e-05/0.3415, allocations: 33.8 kB / 439.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3415, allocations: 3.844 kB / 439.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3415, allocations: 1.172 kB / 439.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3415, allocations: 0 / 439.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.3417, allocations: 219 kB / 439.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.3418, allocations: 26.89 kB / 439.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.3418, allocations: 12.27 kB / 439.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.3418, allocations: 3.906 kB / 439.6 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.3419, allocations: 48.91 kB / 439.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3419, allocations: 0 / 439.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.342, allocations: 47.86 kB / 439.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3421, allocations: 51.41 kB / 439.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.935e-05/0.3421, allocations: 98.22 kB / 439.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.3421, allocations: 25.7 kB / 439.8 MB, free: 9.297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.3421, allocations: 86.02 kB / 439.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.3422, allocations: 3.062 kB / 439.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.3422, allocations: 0 / 439.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.3422, allocations: 324.2 kB / 440.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.3423, allocations: 7.188 kB / 440.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.3423, allocations: 21.53 kB / 440.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/0.3423, allocations: 8.641 kB / 440.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3424, allocations: 0 / 440.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.543e-05/0.3424, allocations: 57.25 kB / 440.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.3425, allocations: 7.719 kB / 440.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3425, allocations: 4.031 kB / 440.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3425, allocations: 0 / 440.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.3425, allocations: 9.375 kB / 440.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3426, allocations: 3.906 kB / 440.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.3426, allocations: 3.938 kB / 440.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3426, allocations: 3.844 kB / 440.3 MB, free: 8.82 MB / 314.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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 4.784e-05/0.3426, allocations: 106.5 kB / 440.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3427, allocations: 3.906 kB / 440.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.3427, allocations: 10.97 kB / 440.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3427, allocations: 5.688 kB / 440.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3427, allocations: 3 kB / 440.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3427, allocations: 0 / 440.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3428, allocations: 260 kB / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3429, allocations: 1.875 kB / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.3429, allocations: 0 / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3429, allocations: 0 / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3429, allocations: 3.844 kB / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3429, allocations: 0 / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3429, allocations: 0 / 440.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.793e-05/0.343, allocations: 146.2 kB / 440.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.343, allocations: 77.11 kB / 441 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.343, allocations: 5.531 kB / 441 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.3431, allocations: 7.812 kB / 441 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3431, allocations: 0 / 441 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3431, allocations: 5.422 kB / 441 MB, free: 8.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.958e-05/0.3431, allocations: 79.16 kB / 441 MB, free: 8.117 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000272/0.3434, allocations: 44.83 kB / 441.1 MB, free: 8.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003329/0.3438, allocations: 175.6 kB / 441.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.3438, allocations: 22.75 kB / 441.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3438, allocations: 0 / 441.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.3439, allocations: 9.5 kB / 441.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.344, allocations: 0 / 441.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.3442, allocations: 65.98 kB / 441.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3443, allocations: 0.6886 MB / 442 MB, free: 7.207 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3443, allocations: 0 / 442 MB, free: 7.207 MB / 314.7 MB Notification: Performance of Templates: time 0.00304/0.3474, allocations: 1.146 MB / 443.2 MB, free: 7.062 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches