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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002686/0.002686, allocations: 214 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 53.41 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002617/0.3712, allocations: 1.352 MB / 433 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.3721, allocations: 346.8 kB / 433.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.3721, allocations: 7.938 kB / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3722, allocations: 0 / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.3722, allocations: 11.94 kB / 433.3 MB, free: 4.844 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.0005802/0.3728, allocations: 91.7 kB / 433.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.3729, allocations: 15.92 kB / 433.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.373, allocations: 4 kB / 433.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.373, allocations: 7.984 kB / 433.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.373, allocations: 11.88 kB / 433.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.373, allocations: 4 kB / 433.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3733, allocations: 111.8 kB / 433.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3734, allocations: 4 kB / 433.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.3734, allocations: 11.92 kB / 433.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3736, allocations: 83.61 kB / 433.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3736, allocations: 4 kB / 433.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3736, allocations: 0 / 433.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3736, allocations: 0 / 433.7 MB, free: 4.504 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.0005088/0.3742, allocations: 276.5 kB / 434 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3742, allocations: 15.92 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3742, allocations: 4.938 kB / 434 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3744, allocations: 106.5 kB / 434.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3744, allocations: 8.359 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3744, allocations: 384 / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3745, allocations: 30.27 kB / 434.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3745, allocations: 4.188 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3745, allocations: 3.938 kB / 434.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3745, allocations: 3.984 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.3746, allocations: 11.98 kB / 434.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.375, allocations: 196.5 kB / 434.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.375, allocations: 18.58 kB / 434.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.3751, allocations: 12.92 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.3751, allocations: 4 kB / 434.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.3753, allocations: 63.33 kB / 434.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3753, allocations: 4 kB / 434.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000208/0.3755, allocations: 53.62 kB / 434.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3755, allocations: 51.41 kB / 434.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3757, allocations: 109.8 kB / 434.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3757, allocations: 25.7 kB / 434.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.3757, allocations: 84.14 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.3758, allocations: 3.953 kB / 434.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3758, allocations: 21.7 kB / 434.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.376, allocations: 322.8 kB / 435.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.376, allocations: 4 kB / 435.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.376, allocations: 25.7 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.3761, allocations: 33.66 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3761, allocations: 0 / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.917e-05/0.3762, allocations: 57.58 kB / 435.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3762, allocations: 11.88 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3762, allocations: 0 / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3762, allocations: 4 kB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.3763, allocations: 7.984 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3763, allocations: 0 / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.3764, allocations: 4 kB / 435.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3764, allocations: 8.031 kB / 435.2 MB, free: 2.762 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 0.0001159/0.3765, allocations: 109.8 kB / 435.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.3765, allocations: 3.938 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3765, allocations: 4 kB / 435.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3765, allocations: 4 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3765, allocations: 0 / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3765, allocations: 0 / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3768, allocations: 238.2 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3768, allocations: 4 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.3768, allocations: 0 / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3768, allocations: 4 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3768, allocations: 3.984 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3768, allocations: 0 / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3768, allocations: 4.375 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.377, allocations: 151.7 kB / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.377, allocations: 4 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.377, allocations: 4 kB / 435.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.3771, allocations: 0 / 435.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3771, allocations: 11.92 kB / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3771, allocations: 0 / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.3772, allocations: 87.22 kB / 435.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3772, allocations: 4 kB / 435.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.3775, allocations: 27.92 kB / 435.9 MB, free: 2.039 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.000518/0.378, allocations: 183.3 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.3781, allocations: 24.02 kB / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3781, allocations: 0 / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.3782, allocations: 11.92 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3784, allocations: 7.938 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3787, allocations: 101.7 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.3787, allocations: 63.34 kB / 436.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.3788, allocations: 4 kB / 436.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3788, allocations: 15.44 kB / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3788, allocations: 4.062 kB / 436.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.004204/0.383, allocations: 0.9396 MB / 437.2 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.758406471461058]