Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 174.5 kB / 16.72 MB, free: 5.082 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.605/1.605, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0008755/0.0008755, allocations: 88.92 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003397, allocations: 16 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001188/0.2386, allocations: 1.068 MB / 376.2 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005986/0.2392, allocations: 340.1 kB / 376.5 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.2393, allocations: 0 / 376.5 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2393, allocations: 3.938 kB / 376.5 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.2393, allocations: 1.094 kB / 376.5 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2397, allocations: 73.58 kB / 376.6 MB, free: 44.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.387e-05/0.2398, allocations: 14.8 kB / 376.6 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2398, allocations: 5.125 kB / 376.6 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.2398, allocations: 7.094 kB / 376.6 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.2399, allocations: 14.27 kB / 376.6 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.2399, allocations: 1.125 kB / 376.6 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.24, allocations: 71.89 kB / 376.7 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.2401, allocations: 6.172 kB / 376.7 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2401, allocations: 39.66 kB / 376.7 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2402, allocations: 54.56 kB / 376.8 MB, free: 44.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2402, allocations: 0 / 376.8 MB, free: 44.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2402, allocations: 1.25 kB / 376.8 MB, free: 44.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2402, allocations: 4 kB / 376.8 MB, free: 44.13 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002772/0.2405, allocations: 341.2 kB / 377.1 MB, free: 43.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2406, allocations: 9.188 kB / 377.1 MB, free: 43.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.2406, allocations: 3 kB / 377.1 MB, free: 43.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.2407, allocations: 166.5 kB / 377.3 MB, free: 43.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2407, allocations: 9.406 kB / 377.3 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.2407, allocations: 2.5 kB / 377.3 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.984e-05/0.2408, allocations: 33.33 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2408, allocations: 5.375 kB / 377.3 MB, free: 43.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2408, allocations: 3.938 kB / 377.3 MB, free: 43.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2408, allocations: 3.984 kB / 377.3 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.2408, allocations: 3.031 kB / 377.3 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.2411, allocations: 245 kB / 377.6 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.2412, allocations: 25.05 kB / 377.6 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.2412, allocations: 20.11 kB / 377.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.2412, allocations: 1.062 kB / 377.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.2413, allocations: 54.3 kB / 377.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.2413, allocations: 5.156 kB / 377.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001433/0.2415, allocations: 53.84 kB / 377.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.2415, allocations: 51.41 kB / 377.8 MB, free: 43.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.2416, allocations: 106.1 kB / 377.9 MB, free: 42.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.2416, allocations: 29.7 kB / 377.9 MB, free: 42.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.2416, allocations: 85.17 kB / 378 MB, free: 42.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2416, allocations: 13.61 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2416, allocations: 5 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.2417, allocations: 315.9 kB / 378.3 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.2417, allocations: 8.203 kB / 378.3 MB, free: 42.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.2417, allocations: 18.97 kB / 378.4 MB, free: 42.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.2418, allocations: 35.09 kB / 378.4 MB, free: 42.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2418, allocations: 0 / 378.4 MB, free: 42.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.107e-05/0.2419, allocations: 59.11 kB / 378.5 MB, free: 42.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2419, allocations: 9.516 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2419, allocations: 3.984 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2419, allocations: 1.312 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.242, allocations: 9.281 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.242, allocations: 1.156 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.242, allocations: 8.875 kB / 378.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.242, allocations: 1.062 kB / 378.5 MB, free: 42.33 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked 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.578e-05/0.2421, allocations: 116.7 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.2421, allocations: 2.031 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.2421, allocations: 12.89 kB / 378.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2421, allocations: 0 / 378.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2421, allocations: 1.094 kB / 378.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2421, allocations: 0 / 378.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2423, allocations: 284.5 kB / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2423, allocations: 0 / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.2423, allocations: 6.312 kB / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2423, allocations: 0 / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.2423, allocations: 1 kB / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2423, allocations: 5.359 kB / 378.9 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2423, allocations: 0 / 378.9 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.495e-05/0.2424, allocations: 146.7 kB / 379 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2424, allocations: 86.2 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2425, allocations: 1.031 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.2425, allocations: 4 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.2425, allocations: 6.75 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2426, allocations: 3.984 kB / 379.1 MB, free: 41.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.2426, allocations: 87.53 kB / 379.2 MB, free: 41.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2426, allocations: 1.094 kB / 379.2 MB, free: 41.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.2429, allocations: 22.31 kB / 379.3 MB, free: 41.53 MB / 298.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 () * Number of clocked 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.0003818/0.2433, allocations: 184.8 kB / 379.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.2434, allocations: 21.58 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2434, allocations: 0 / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.2434, allocations: 5.625 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.2436, allocations: 9.953 kB / 379.5 MB, free: 41.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.2438, allocations: 144 kB / 379.6 MB, free: 41.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2439, allocations: 0.6786 MB / 380.3 MB, free: 40.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.2439, allocations: 8.469 kB / 380.3 MB, free: 40.52 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2439, allocations: 0 / 380.3 MB, free: 40.52 MB / 298.7 MB Notification: Performance of Templates: time 0.002377/0.2463, allocations: 1.151 MB / 381.5 MB, free: 39.93 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches