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.002024/0.002024, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002717/0.002717, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001584/0.001584, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, allocations: 53.37 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002393/0.2557, allocations: 1.35 MB / 433 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.2564, allocations: 370.7 kB / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.2564, allocations: 0 / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.2565, allocations: 3.984 kB / 433.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.2565, allocations: 11.94 kB / 433.4 MB, free: 5.188 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.0004598/0.257, allocations: 87.7 kB / 433.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.257, allocations: 15.94 kB / 433.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2571, allocations: 7.984 kB / 433.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.2571, allocations: 11.92 kB / 433.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.2571, allocations: 7.938 kB / 433.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.2571, allocations: 0 / 433.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.2574, allocations: 127.8 kB / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2574, allocations: 0 / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.2574, allocations: 15.92 kB / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2576, allocations: 79.62 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2576, allocations: 3.938 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2576, allocations: 0 / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2576, allocations: 0 / 433.7 MB, free: 4.84 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.0003825/0.258, allocations: 271.6 kB / 434 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.258, allocations: 12.03 kB / 434 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.258, allocations: 8.938 kB / 434 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.2581, allocations: 110.5 kB / 434.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2581, allocations: 384 / 434.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2582, allocations: 384 / 434.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.336e-05/0.2582, allocations: 34.25 kB / 434.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2582, allocations: 192 / 434.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2583, allocations: 7.938 kB / 434.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2583, allocations: 4 kB / 434.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.2583, allocations: 4 kB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.2586, allocations: 219.9 kB / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.2586, allocations: 34.55 kB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.2587, allocations: 12.86 kB / 434.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.2587, allocations: 0 / 434.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.2588, allocations: 51.41 kB / 434.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2588, allocations: 4 kB / 434.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001586/0.2589, allocations: 57.62 kB / 434.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.259, allocations: 55.39 kB / 434.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.2591, allocations: 105.8 kB / 434.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2591, allocations: 25.7 kB / 434.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.2591, allocations: 96.11 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.2591, allocations: 3.953 kB / 434.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.2592, allocations: 17.72 kB / 434.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2593, allocations: 314.8 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.2593, allocations: 11.98 kB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.2594, allocations: 17.72 kB / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.2594, allocations: 29.66 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2594, allocations: 0 / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.652e-05/0.2595, allocations: 65.52 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2595, allocations: 11.98 kB / 435.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2595, allocations: 4.031 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2595, allocations: 0 / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.2596, allocations: 11.94 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2596, allocations: 0 / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.2596, allocations: 0 / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2596, allocations: 4 kB / 435.3 MB, free: 3.07 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 7.907e-05/0.2597, allocations: 109.8 kB / 435.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.2597, allocations: 8 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2597, allocations: 7.984 kB / 435.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2597, allocations: 4 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2597, allocations: 0 / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2597, allocations: 0 / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.26, allocations: 257.6 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.26, allocations: 0 / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.26, allocations: 0 / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.26, allocations: 4 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.26, allocations: 384 / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.26, allocations: 0 / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.26, allocations: 7.984 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.2601, allocations: 159.7 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.2601, allocations: 0 / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2601, allocations: 0 / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.2602, allocations: 4.047 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.2602, allocations: 3.984 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2602, allocations: 3.984 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.2603, allocations: 83.28 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2603, allocations: 3.938 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.2605, allocations: 31.94 kB / 436 MB, free: 2.312 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.000414/0.2609, allocations: 184.8 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.261, allocations: 23.98 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.261, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.2611, allocations: 7.938 kB / 436.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2613, allocations: 11.98 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.2615, allocations: 101.9 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2618, allocations: 0.6768 MB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2618, allocations: 7.984 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.2619, allocations: 11.5 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2619, allocations: 0 / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Templates: time 0.003451/0.2653, allocations: 0.9609 MB / 437.9 MB, free: 308 kB / 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/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_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: 4.625375883886591]