Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2272, allocations: 50.55 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002406/0.2296, allocations: 1.341 MB / 411.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.2303, allocations: 357.4 kB / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.2304, allocations: 0 / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.2304, allocations: 3.938 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-05/0.2304, allocations: 0 / 411.9 MB, free: 15.74 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0004374/0.2309, allocations: 83.73 kB / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.2309, allocations: 19.92 kB / 412 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.231, allocations: 3.984 kB / 412 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.231, allocations: 15.88 kB / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.06e-05/0.231, allocations: 7.922 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.231, allocations: 4 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2312, allocations: 91.86 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2312, allocations: 3.984 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.2312, allocations: 7.938 kB / 412.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2314, allocations: 83.75 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2314, allocations: 4 kB / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2314, allocations: 0 / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2314, allocations: 0 / 412.2 MB, free: 15.42 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.0004291/0.2319, allocations: 343.3 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2319, allocations: 8.031 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.2319, allocations: 8.922 kB / 412.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2321, allocations: 164.4 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2321, allocations: 384 / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2321, allocations: 4.375 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.2322, allocations: 46.12 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2322, allocations: 192 / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2322, allocations: 3.938 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2322, allocations: 0 / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.2322, allocations: 4 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.2325, allocations: 252.9 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.2326, allocations: 18.58 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.2326, allocations: 20.8 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2326, allocations: 3.984 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.2327, allocations: 51.41 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2327, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.2329, allocations: 49.69 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2329, allocations: 55.34 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.233, allocations: 105.8 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2331, allocations: 29.7 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.2331, allocations: 84.14 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2331, allocations: 7.938 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.2331, allocations: 21.7 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2333, allocations: 322.8 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.2333, allocations: 4 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.2333, allocations: 21.7 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.2334, allocations: 21.72 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2334, allocations: 384 / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.2335, allocations: 69.52 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2335, allocations: 4 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2335, allocations: 4.031 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2335, allocations: 7.938 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.2336, allocations: 11.98 kB / 413.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.2336, allocations: 0 / 413.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.2336, allocations: 4.172 kB / 413.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2336, allocations: 4 kB / 413.9 MB, free: 13.45 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.805e-05/0.2337, allocations: 125.7 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2337, allocations: 3.984 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.2337, allocations: 3.906 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2337, allocations: 4 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2337, allocations: 0 / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.2337, allocations: 0 / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.234, allocations: 290.6 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.234, allocations: 0 / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.234, allocations: 4 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.234, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.234, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.234, allocations: 3.938 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.234, allocations: 3.984 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.2341, allocations: 151.4 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.2342, allocations: 81.09 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2342, allocations: 0 / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.2342, allocations: 4 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.2342, allocations: 4 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2342, allocations: 0 / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.2343, allocations: 83.27 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2343, allocations: 4 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.2346, allocations: 27.94 kB / 414.7 MB, free: 12.56 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003976/0.235, allocations: 183.7 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.2351, allocations: 27.92 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2351, allocations: 3.938 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.2351, allocations: 12 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2353, allocations: 3.125 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.2355, allocations: 109.6 kB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2358, allocations: 0.6768 MB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.2359, allocations: 11.92 kB / 415.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.2359, allocations: 15.5 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2359, allocations: 0 / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003467/0.2393, allocations: 0.949 MB / 416.7 MB, free: 10.55 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches