Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.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 trunk/package.mo): time 0.001685/0.001685, allocations: 202.1 kB / 8.537 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008559/0.0008559, allocations: 91.34 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.584e-06, allocations: 4 kB / 343.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08303, allocations: 51.48 MB / 394.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.303, allocations: 76.2 MB / 470.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.3032, allocations: 65.67 kB / 470.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004381/0.3076, allocations: 1.687 MB / 472.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3076, allocations: 3.125 kB / 472.6 MB, free: 14.06 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000216/0.3079, allocations: 333.2 kB / 472.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.3079, allocations: 8.031 kB / 472.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.3079, allocations: 4 kB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.759e-05/0.308, allocations: 165.2 kB / 473.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.308, allocations: 0 / 473.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.308, allocations: 4 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.79e-05/0.3081, allocations: 6.062 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.546e-05/0.3081, allocations: 40.83 kB / 473.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3082, allocations: 0 / 473.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3082, allocations: 0 / 473.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3082, allocations: 0 / 473.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.3083, allocations: 220.1 kB / 473.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.3084, allocations: 24.45 kB / 473.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.3084, allocations: 12.48 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3084, allocations: 3.906 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3085, allocations: 50.73 kB / 473.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.3085, allocations: 0 / 473.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001144/0.3086, allocations: 48.83 kB / 473.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.3086, allocations: 51.41 kB / 473.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.3087, allocations: 102 kB / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.3087, allocations: 25.7 kB / 473.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.3087, allocations: 87.98 kB / 473.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.3087, allocations: 4 kB / 473.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.3087, allocations: 0 / 473.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.274e-05/0.3088, allocations: 314.8 kB / 474 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.3088, allocations: 7.688 kB / 474 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.3088, allocations: 23.97 kB / 474.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.3089, allocations: 4 kB / 474.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3089, allocations: 3.938 kB / 474.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.118e-05/0.309, allocations: 59.23 kB / 474.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.309, allocations: 8 kB / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.309, allocations: 0 / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.309, allocations: 0 / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.309, allocations: 4 kB / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3091, allocations: 11.94 kB / 474.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.3091, allocations: 0 / 474.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3091, allocations: 2.156 kB / 474.2 MB, free: 12.34 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: 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.133e-05/0.3091, allocations: 116 kB / 474.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.3092, allocations: 3.906 kB / 474.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.3092, allocations: 7.188 kB / 474.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3092, allocations: 4 kB / 474.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3092, allocations: 0 / 474.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3092, allocations: 0 / 474.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3093, allocations: 253.4 kB / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3093, allocations: 3.375 kB / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.3093, allocations: 7.375 kB / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3094, allocations: 0 / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3094, allocations: 4.625 kB / 474.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3094, allocations: 0 / 474.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3094, allocations: 0 / 474.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.918e-05/0.3094, allocations: 145.8 kB / 474.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.3095, allocations: 81.11 kB / 474.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3095, allocations: 6.453 kB / 474.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.3095, allocations: 3.906 kB / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.3096, allocations: 0 / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.3096, allocations: 5.125 kB / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.726e-05/0.3096, allocations: 83.03 kB / 474.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.3099, allocations: 34.72 kB / 474.9 MB, free: 11.56 MB / 346.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.0002957/0.3102, allocations: 178.4 kB / 475.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.3102, allocations: 23.11 kB / 475.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3102, allocations: 0 / 475.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.3103, allocations: 15.75 kB / 475.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3104, allocations: 0 / 475.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.3105, allocations: 58.09 kB / 475.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.3106, allocations: 0.687 MB / 475.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3106, allocations: 0 / 475.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of Templates: time 0.0026/0.3132, allocations: 1.137 MB / 477 MB, free: 9.953 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches