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.001279/0.001279, allocations: 119.4 kB / 18.46 MB, free: 4.578 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.001431/0.001431, allocations: 209.6 kB / 21.42 MB, free: 1.625 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.001685/0.001685, allocations: 47.92 kB / 374.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.12, allocations: 53.33 MB / 427.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00329/0.1233, allocations: 1.354 MB / 428.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.1242, allocations: 362.8 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1243, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.1243, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.1244, allocations: 3.938 kB / 429.2 MB, free: 2.523 MB / 350.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.000667/0.1251, allocations: 87.73 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.1252, allocations: 23.92 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.1252, allocations: 3.984 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.1252, allocations: 7.938 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.1253, allocations: 7.984 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1253, allocations: 4 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1255, allocations: 91.83 kB / 429.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.1256, allocations: 7.938 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.1256, allocations: 11.92 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1258, allocations: 83.7 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1258, allocations: 0 / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1258, allocations: 4 kB / 429.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1259, allocations: 0 / 429.5 MB, free: 2.195 MB / 350.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.0005253/0.1264, allocations: 351.3 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1264, allocations: 12.03 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1265, allocations: 0.9375 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1266, allocations: 160.4 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1266, allocations: 4.375 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1266, allocations: 384 / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1267, allocations: 38.25 kB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1267, allocations: 192 / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1268, allocations: 3.938 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1268, allocations: 0 / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.1268, allocations: 8 kB / 430.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1272, allocations: 248.8 kB / 430.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.1272, allocations: 26.52 kB / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.1273, allocations: 20.84 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1273, allocations: 0 / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.1274, allocations: 51.41 kB / 430.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1274, allocations: 3.938 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001869/0.1276, allocations: 57.69 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1277, allocations: 51.41 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.1278, allocations: 106 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1278, allocations: 29.7 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.1279, allocations: 84.14 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1279, allocations: 7.938 kB / 430.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1279, allocations: 21.72 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1281, allocations: 310.8 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.1281, allocations: 11.98 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.1281, allocations: 17.78 kB / 431.1 MB, free: 384 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.1282, allocations: 37.66 kB / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1282, allocations: 0 / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.856e-05/0.1283, allocations: 61.52 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1283, allocations: 4 kB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1283, allocations: 0 / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1283, allocations: 7.984 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.1284, allocations: 8 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1284, allocations: 0 / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.1284, allocations: 11.88 kB / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1284, allocations: 4.031 kB / 431.2 MB, free: 236 kB / 350.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.0001021/0.1285, allocations: 113.8 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1285, allocations: 240 / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.1286, allocations: 11.89 kB / 431.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1286, allocations: 7.984 kB / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1286, allocations: 0 / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1286, allocations: 3.938 kB / 431.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1288, allocations: 282.5 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1288, allocations: 4 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.1289, allocations: 4 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1289, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1289, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1289, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1289, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.129, allocations: 159.4 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.1291, allocations: 77.11 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1291, allocations: 4 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.1291, allocations: 4 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1292, allocations: 0 / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1292, allocations: 0 / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1292, allocations: 95.39 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1295, allocations: 23.94 kB / 432 MB, free: 15.34 MB / 366.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.0005153/0.13, allocations: 193 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1301, allocations: 19.98 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1301, allocations: 0 / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.1302, allocations: 7.938 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.1304, allocations: 11.98 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.1307, allocations: 135.3 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1311, allocations: 0.6729 MB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.1311, allocations: 7.438 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1311, allocations: 0 / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Templates: time 0.003319/0.1344, allocations: 1.169 MB / 434.2 MB, free: 13.1 MB / 366.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.4643906989949755]