Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2836, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002768/0.2864, allocations: 1.36 MB / 433.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.2873, allocations: 342.9 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2873, allocations: 7.938 kB / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2873, allocations: 3.938 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.2874, allocations: 7.938 kB / 434 MB, free: 4.973 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0005579/0.2879, allocations: 91.7 kB / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.288, allocations: 15.98 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.2881, allocations: 0 / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.2881, allocations: 4 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.2881, allocations: 7.938 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2881, allocations: 4 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2884, allocations: 119.7 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2884, allocations: 12 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.2885, allocations: 7.922 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2887, allocations: 90.64 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2887, allocations: 0 / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2887, allocations: 0 / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2887, allocations: 4 kB / 434.4 MB, free: 4.629 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.0004278/0.2891, allocations: 269.8 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2891, allocations: 8.031 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2892, allocations: 4.938 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2893, allocations: 114.5 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2893, allocations: 4.375 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.2893, allocations: 4.375 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.011e-05/0.2894, allocations: 30.27 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2894, allocations: 192 / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2894, allocations: 7.938 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2894, allocations: 0 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.2895, allocations: 11.98 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.2898, allocations: 188.6 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.2899, allocations: 30.5 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2899, allocations: 16.91 kB / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2899, allocations: 4 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.2901, allocations: 55.34 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.2901, allocations: 0 / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001814/0.2902, allocations: 53.62 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2903, allocations: 51.41 kB / 435.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2904, allocations: 109.8 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2904, allocations: 29.7 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.2905, allocations: 80.14 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2905, allocations: 3.953 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.2905, allocations: 21.7 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2907, allocations: 322.8 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.2907, allocations: 4 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.2907, allocations: 21.7 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.2908, allocations: 33.59 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2908, allocations: 0 / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.596e-05/0.2909, allocations: 61.58 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2909, allocations: 4 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2909, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2909, allocations: 0 / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.291, allocations: 15.95 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.291, allocations: 4 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.291, allocations: 0 / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.291, allocations: 0 / 435.9 MB, free: 2.906 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 9.198e-05/0.2911, allocations: 117.8 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.2911, allocations: 3.938 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.2911, allocations: 8 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2911, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2911, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2911, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.2914, allocations: 246.1 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2914, allocations: 4 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.2914, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2914, allocations: 4.359 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2914, allocations: 4 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2914, allocations: 4 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2914, allocations: 0 / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.2915, allocations: 147.7 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.2915, allocations: 4 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2915, allocations: 48 / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.2916, allocations: 7.984 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.2916, allocations: 3.984 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.2916, allocations: 4 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.2917, allocations: 87.22 kB / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2917, allocations: 0 / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.292, allocations: 31.86 kB / 436.6 MB, free: 2.172 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.0004572/0.2924, allocations: 175.8 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.2925, allocations: 16 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2925, allocations: 8 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.2926, allocations: 11.92 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2928, allocations: 7.875 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.2931, allocations: 139.5 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.2931, allocations: 63.34 kB / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2932, allocations: 15.48 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2932, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Templates: time 0.003144/0.2963, allocations: 1.17 MB / 438.2 MB, free: 0.5508 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 7.55123905884102]