Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 74.64 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 151.2 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 46.83 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1247, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002889/0.1276, allocations: 1.469 MB / 373 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1289, allocations: 0.5671 MB / 373.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.129, allocations: 0 / 373.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1291, allocations: 11.81 kB / 373.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.1292, allocations: 23.84 kB / 373.6 MB, free: 5.25 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006724/0.1299, allocations: 155.5 kB / 373.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1301, allocations: 107.7 kB / 373.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.1301, allocations: 9.297 kB / 373.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.1302, allocations: 47.83 kB / 373.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.1309, allocations: 73.78 kB / 374 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1309, allocations: 8 kB / 374 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.1312, allocations: 151.7 kB / 374.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1313, allocations: 27.86 kB / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.1313, allocations: 39.78 kB / 374.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1317, allocations: 219.1 kB / 374.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1317, allocations: 0 / 374.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1317, allocations: 0 / 374.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1317, allocations: 0 / 374.5 MB, free: 4.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006703/0.1324, allocations: 377.5 kB / 374.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1324, allocations: 12.92 kB / 374.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.1327, allocations: 36.81 kB / 374.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1329, allocations: 146.2 kB / 375 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1329, allocations: 12.12 kB / 375 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1329, allocations: 4 kB / 375 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1332, allocations: 115.3 kB / 375.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1332, allocations: 3.984 kB / 375.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1332, allocations: 0 / 375.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1332, allocations: 7.984 kB / 375.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1334, allocations: 51.97 kB / 375.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.134, allocations: 301.1 kB / 375.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.1344, allocations: 117.2 kB / 375.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1345, allocations: 57.69 kB / 375.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1345, allocations: 4 kB / 375.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.1348, allocations: 141 kB / 375.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.1348, allocations: 0 / 375.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000579/0.1354, allocations: 233.6 kB / 376 MB, free: 2.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.1355, allocations: 89.09 kB / 376.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1357, allocations: 178.2 kB / 376.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.1357, allocations: 53.69 kB / 376.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.1358, allocations: 104.6 kB / 376.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1358, allocations: 39.73 kB / 376.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.1359, allocations: 61.92 kB / 376.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1361, allocations: 334.8 kB / 376.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1363, allocations: 92.47 kB / 377 MB, free: 1.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1365, allocations: 136.3 kB / 377.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.1369, allocations: 210.9 kB / 377.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1369, allocations: 0 / 377.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000513/0.1374, allocations: 293.9 kB / 377.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1374, allocations: 4 kB / 377.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1374, allocations: 4 kB / 377.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1374, allocations: 0 / 377.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1376, allocations: 31.92 kB / 377.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1376, allocations: 12.05 kB / 377.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.1377, allocations: 19.83 kB / 377.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1377, allocations: 8 kB / 377.7 MB, free: 0.9727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001409/0.1378, allocations: 141.8 kB / 377.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1379, allocations: 23.84 kB / 377.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1379, allocations: 13.45 kB / 377.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1379, allocations: 4 kB / 377.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1379, allocations: 96 / 377.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1379, allocations: 11.92 kB / 377.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1381, allocations: 141.2 kB / 378 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1381, allocations: 0 / 378 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.1381, allocations: 11.98 kB / 378 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1381, allocations: 0 / 378 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1381, allocations: 0 / 378 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1382, allocations: 4 kB / 378 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1382, allocations: 7.938 kB / 378 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1385, allocations: 221.2 kB / 378.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.1386, allocations: 27.83 kB / 378.3 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1386, allocations: 8 kB / 378.3 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1387, allocations: 7.984 kB / 378.3 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.1387, allocations: 11.98 kB / 378.3 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1387, allocations: 4 kB / 378.3 MB, free: 292 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1388, allocations: 128.2 kB / 378.4 MB, free: 164 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 4 kB / 378.4 MB, free: 160 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1391, allocations: 47.92 kB / 378.5 MB, free: 112 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004874/0.1396, allocations: 213.4 kB / 378.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.14, allocations: 171.8 kB / 378.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.14, allocations: 4.125 kB / 378.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1402, allocations: 47.97 kB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.1403, allocations: 19.67 kB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.1408, allocations: 255.7 kB / 379.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.1409, allocations: 97.77 kB / 379.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.141, allocations: 12.97 kB / 379.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.141, allocations: 20.5 kB / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.141, allocations: 0 / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Templates: time 0.005469/0.1465, allocations: 2.019 MB / 381.3 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.281519136973657]