Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.001245/0.001245, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001356/0.001356, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 51.91 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1265, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003146/0.1296, allocations: 1.505 MB / 429 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.131, allocations: 0.5769 MB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1311, allocations: 0 / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1312, allocations: 15.86 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.1312, allocations: 11.81 kB / 429.6 MB, free: 2.184 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.0007092/0.1319, allocations: 143.6 kB / 429.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1321, allocations: 115.6 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1322, allocations: 13.11 kB / 429.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.1323, allocations: 47.84 kB / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.133, allocations: 69.7 kB / 430 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.133, allocations: 12 kB / 430 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.1333, allocations: 119.8 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1334, allocations: 31.91 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.1335, allocations: 55.61 kB / 430.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.134, allocations: 195.2 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.134, allocations: 0 / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.134, allocations: 4 kB / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.134, allocations: 4 kB / 430.4 MB, free: 1.391 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000849/0.1348, allocations: 458.5 kB / 430.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1349, allocations: 8.031 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.1352, allocations: 40.81 kB / 430.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1354, allocations: 212 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.1355, allocations: 4.375 kB / 431.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1355, allocations: 8.375 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1357, allocations: 119.5 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1358, allocations: 0 / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1358, allocations: 0 / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1358, allocations: 0 / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.136, allocations: 63.89 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.1367, allocations: 369.5 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1371, allocations: 125.1 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1372, allocations: 53.7 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1372, allocations: 3.938 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.1375, allocations: 139.6 kB / 432 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1375, allocations: 0 / 432 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006074/0.1381, allocations: 249.8 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.1382, allocations: 93.09 kB / 432.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1384, allocations: 170.3 kB / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.1384, allocations: 41.69 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.1385, allocations: 108.6 kB / 432.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1386, allocations: 51.61 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.1387, allocations: 53.92 kB / 432.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1388, allocations: 334.8 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.139, allocations: 100.5 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1392, allocations: 123.5 kB / 433.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.1396, allocations: 215.4 kB / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1396, allocations: 0 / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005419/0.1402, allocations: 297.3 kB / 433.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1402, allocations: 6.656 kB / 433.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1402, allocations: 4 kB / 433.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1402, allocations: 0 / 433.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1404, allocations: 23.98 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1404, allocations: 8.062 kB / 433.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.1405, allocations: 19.89 kB / 433.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1405, allocations: 8 kB / 433.8 MB, free: 13.68 MB / 366.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.0001665/0.1407, allocations: 157.7 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1407, allocations: 11.91 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1407, allocations: 13.41 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1407, allocations: 4 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1408, allocations: 4 kB / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1408, allocations: 0 / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.141, allocations: 209.5 kB / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.141, allocations: 0 / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.1411, allocations: 11.94 kB / 434.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1411, allocations: 0 / 434.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1411, allocations: 7.984 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1411, allocations: 0 / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1411, allocations: 0 / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.1415, allocations: 225.7 kB / 434.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1416, allocations: 97.02 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1416, allocations: 8 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.1417, allocations: 3.984 kB / 434.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.1418, allocations: 15.98 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1418, allocations: 7.938 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1419, allocations: 140.1 kB / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1419, allocations: 0 / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.1422, allocations: 51.86 kB / 434.8 MB, free: 12.62 MB / 366.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.0005579/0.1428, allocations: 188.1 kB / 435 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.1432, allocations: 175.8 kB / 435.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1432, allocations: 0 / 435.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1434, allocations: 59.89 kB / 435.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.1436, allocations: 10.34 kB / 435.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.1441, allocations: 281.5 kB / 435.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1445, allocations: 0.708 MB / 436.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1445, allocations: 11.44 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1445, allocations: 0 / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.005423/0.15, allocations: 2.328 MB / 438.5 MB, free: 8.836 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.9731429549865425]