Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003301/0.003301, allocations: 62.06 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1509, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004238/0.1551, allocations: 1.808 MB / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1581, allocations: 1.243 MB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.1582, allocations: 4 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1584, allocations: 19.73 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1585, allocations: 39.66 kB / 382 MB, free: 12.31 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001042/0.1596, allocations: 315.1 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1599, allocations: 215.5 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1601, allocations: 56.47 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1602, allocations: 99.61 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.1609, allocations: 111 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.161, allocations: 23.94 kB / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000628/0.1616, allocations: 315.4 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.1617, allocations: 59.81 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1618, allocations: 87.58 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.1624, allocations: 390.5 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1624, allocations: 0 / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1624, allocations: 0 / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1624, allocations: 0 / 383.7 MB, free: 10.67 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001187/0.1636, allocations: 0.5098 MB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1637, allocations: 12.03 kB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.1639, allocations: 44.72 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1642, allocations: 182.7 kB / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.1642, allocations: 16.66 kB / 384.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.1643, allocations: 16.38 kB / 384.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.1648, allocations: 200.4 kB / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1648, allocations: 0 / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1648, allocations: 8 kB / 384.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1649, allocations: 4 kB / 384.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.1653, allocations: 156.4 kB / 384.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1664, allocations: 468.8 kB / 385.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.1676, allocations: 298.7 kB / 385.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.1679, allocations: 104.8 kB / 385.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1679, allocations: 7.922 kB / 385.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.1684, allocations: 174 kB / 385.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.1684, allocations: 0 / 385.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001121/0.1695, allocations: 360.1 kB / 386.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.1696, allocations: 63.39 kB / 386.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.17, allocations: 195.2 kB / 386.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.17, allocations: 41.69 kB / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1701, allocations: 132.6 kB / 386.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.1702, allocations: 75.38 kB / 386.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1703, allocations: 65.69 kB / 386.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.1706, allocations: 334.8 kB / 387.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/0.1711, allocations: 135.7 kB / 387.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.1716, allocations: 169.4 kB / 387.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.1723, allocations: 271.3 kB / 387.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1723, allocations: 0 / 387.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009065/0.1732, allocations: 383.8 kB / 388 MB, free: 6.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1733, allocations: 4 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1733, allocations: 3.938 kB / 388 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1733, allocations: 4 kB / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1736, allocations: 67.89 kB / 388.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1736, allocations: 4 kB / 388.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1738, allocations: 35.81 kB / 388.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.1738, allocations: 15.98 kB / 388.2 MB, free: 6.008 MB / 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: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0002053/0.1741, allocations: 149.7 kB / 388.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.1741, allocations: 19.84 kB / 388.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.1742, allocations: 21.95 kB / 388.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1742, allocations: 3.938 kB / 388.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1742, allocations: 0 / 388.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1742, allocations: 0 / 388.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1753, allocations: 0.5329 MB / 388.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1753, allocations: 0 / 388.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1756, allocations: 43.95 kB / 388.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1756, allocations: 11.94 kB / 388.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1756, allocations: 0 / 388.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.1756, allocations: 3.938 kB / 388.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1756, allocations: 3.984 kB / 388.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1767, allocations: 482.3 kB / 389.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.1768, allocations: 23.91 kB / 389.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1768, allocations: 4 kB / 389.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.177, allocations: 19.97 kB / 389.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.1771, allocations: 15.97 kB / 389.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1771, allocations: 11.94 kB / 389.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1772, allocations: 140.3 kB / 389.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1772, allocations: 4 kB / 389.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.1777, allocations: 107.7 kB / 389.7 MB, free: 4.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007418/0.1785, allocations: 276.3 kB / 390 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.1793, allocations: 259.8 kB / 390.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1793, allocations: 8 kB / 390.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.1797, allocations: 103.9 kB / 390.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.18, allocations: 23.92 kB / 390.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1812, allocations: 478.2 kB / 390.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.1814, allocations: 125.2 kB / 391 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1815, allocations: 29.62 kB / 391 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.1816, allocations: 24.5 kB / 391 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1816, allocations: 0 / 391 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Templates: time 0.009471/0.191, allocations: 3.626 MB / 394.7 MB, free: 15.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 5.783277724985965]