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.001839/0.001839, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002268/0.002268, allocations: 213.3 kB / 24.48 MB, free: 3.941 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 2.413/2.413, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 177] 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.002232/0.002232, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3796, 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.004006/0.3836, allocations: 1.356 MB / 433.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.385, allocations: 354.8 kB / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.385, allocations: 0 / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.385, allocations: 0 / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.3851, allocations: 7.922 kB / 434 MB, free: 4.977 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.0007328/0.3858, allocations: 95.7 kB / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.3859, allocations: 19.88 kB / 434.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.386, allocations: 7.969 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.386, allocations: 4 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.3861, allocations: 11.94 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3861, allocations: 0 / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.3865, allocations: 123.8 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.3865, allocations: 7.984 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3865, allocations: 7.938 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3868, allocations: 90.66 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3868, allocations: 0 / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3868, allocations: 0 / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3868, allocations: 0 / 434.4 MB, free: 4.621 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.0005627/0.3874, allocations: 269.9 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3874, allocations: 12.03 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3875, allocations: 0.9375 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3876, allocations: 114.5 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3876, allocations: 4.375 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3876, allocations: 384 / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3878, allocations: 38.25 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3878, allocations: 192 / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3878, allocations: 3.938 kB / 434.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3878, allocations: 4 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.3878, allocations: 3.938 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.3882, allocations: 196.5 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.3883, allocations: 26.58 kB / 435.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.3884, allocations: 16.92 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3884, allocations: 0 / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.3886, allocations: 55.28 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.993e-06/0.3886, allocations: 0 / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002702/0.3888, allocations: 61.66 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.3889, allocations: 55.41 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.389, allocations: 105.8 kB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3891, allocations: 25.7 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.3891, allocations: 84.14 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3892, allocations: 3.953 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.3892, allocations: 25.72 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3894, allocations: 314.8 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.3895, allocations: 8 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.3895, allocations: 22.03 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.3896, allocations: 33.7 kB / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3896, allocations: 0 / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.3898, allocations: 65.52 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3898, allocations: 8 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3898, allocations: 0 / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3898, allocations: 0 / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.3899, allocations: 12.03 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3899, allocations: 3.938 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.39, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.39, allocations: 0 / 435.9 MB, free: 2.895 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.0001297/0.3901, allocations: 117.8 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.3901, allocations: 7.938 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3902, allocations: 4 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3902, allocations: 0 / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.3902, allocations: 0 / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3902, allocations: 0 / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3905, allocations: 242.2 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3905, allocations: 0 / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3905, allocations: 0 / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3905, allocations: 4 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3905, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3905, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3905, allocations: 3.938 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3907, allocations: 159.4 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.3907, allocations: 0 / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3907, allocations: 4 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.3908, allocations: 0 / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3908, allocations: 4 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3908, allocations: 0 / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.984e-05/0.3909, allocations: 91.27 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3909, allocations: 0 / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004816/0.3914, allocations: 23.94 kB / 436.6 MB, free: 2.176 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.0006457/0.392, allocations: 201.6 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3922, allocations: 19.98 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3922, allocations: 3.938 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.3922, allocations: 4 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3926, allocations: 7.938 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3929, allocations: 105.7 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.382e-05/0.393, allocations: 63.34 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.393, allocations: 16.03 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3931, allocations: 7.438 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3931, allocations: 0 / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Templates: time 0.00586/0.3989, allocations: 0.9626 MB / 438 MB, free: 0.7773 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 -s cvode -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: 6.642632090995903]