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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 115.1 kB / 18.46 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 202.7 kB / 19.41 MB, free: 3.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3389, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002812/0.3417, allocations: 1.337 MB / 411.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.3426, allocations: 357.3 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.3426, allocations: 0 / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.3427, allocations: 4 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.3427, allocations: 7.922 kB / 411.6 MB, free: 15.86 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.3433, allocations: 79.73 kB / 411.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.3434, allocations: 19.92 kB / 411.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3435, allocations: 0 / 411.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.3435, allocations: 11.92 kB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.3435, allocations: 19.88 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3435, allocations: 0 / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3438, allocations: 83.91 kB / 411.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3438, allocations: 4 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.3438, allocations: 7.938 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3441, allocations: 95.73 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3441, allocations: 0 / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3441, allocations: 0 / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3441, allocations: 0 / 412 MB, free: 15.54 MB / 334.1 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.0004266/0.3445, allocations: 339.5 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3446, allocations: 12.03 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.3446, allocations: 4.938 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3447, allocations: 168 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3448, allocations: 4.375 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3448, allocations: 384 / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.3449, allocations: 38.2 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3449, allocations: 4.172 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3449, allocations: 7.922 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3449, allocations: 0 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.345, allocations: 4 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3453, allocations: 252.9 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.396e-05/0.3454, allocations: 18.58 kB / 412.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.3454, allocations: 16.86 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3454, allocations: 4 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3456, allocations: 51.39 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.3456, allocations: 3.938 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001875/0.3458, allocations: 61.59 kB / 412.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3459, allocations: 51.41 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.3459, allocations: 105.8 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.346, allocations: 25.7 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.346, allocations: 84.14 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.346, allocations: 3.906 kB / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3461, allocations: 25.72 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3462, allocations: 314.8 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.3462, allocations: 8 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3463, allocations: 17.72 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.3463, allocations: 33.64 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3463, allocations: 0 / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.3464, allocations: 61.59 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3465, allocations: 10.97 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3465, allocations: 4 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3465, allocations: 0 / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.3466, allocations: 8.312 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.3466, allocations: 4 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.3466, allocations: 7.844 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3466, allocations: 7.984 kB / 413.7 MB, free: 13.58 MB / 334.1 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.3467, allocations: 117.8 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.3467, allocations: 3.938 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.3468, allocations: 11.91 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3468, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3468, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3468, allocations: 77.11 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3469, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.3469, allocations: 3.984 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3469, allocations: 4 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001123/0.347, allocations: 137.1 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001486/0.3472, allocations: 222.7 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.639e-05/0.3472, allocations: 11.98 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.071e-05/0.3473, allocations: 83.28 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.3473, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.348, allocations: 174.6 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of SimCode: time 0.000429/0.3484, allocations: 0.5455 MB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.003619/0.352, allocations: 0.9727 MB / 416 MB, free: 11.14 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches