Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001929/0.001929, allocations: 78.25 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.001991/0.001991, allocations: 162.1 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.531/1.531, allocations: 177.1 MB / 204.7 MB, free: 8.977 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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 62.59 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1285, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003902/0.1324, allocations: 1.826 MB / 380.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1348, allocations: 0.9815 MB / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.135, allocations: 0 / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1352, allocations: 19.73 kB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1354, allocations: 31.67 kB / 381.8 MB, free: 12.59 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.0007748/0.1362, allocations: 195.5 kB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1365, allocations: 219.4 kB / 382.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1367, allocations: 56.47 kB / 382.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1369, allocations: 103.6 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.1376, allocations: 110.1 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.1377, allocations: 24 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.1381, allocations: 151.8 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1382, allocations: 63.75 kB / 382.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1383, allocations: 83.58 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.139, allocations: 298.8 kB / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.139, allocations: 0 / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.139, allocations: 0 / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.139, allocations: 0 / 383.1 MB, free: 11.31 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.001282/0.1403, allocations: 498.3 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1403, allocations: 12.03 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1406, allocations: 40.73 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1409, allocations: 186.7 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1409, allocations: 12.66 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.141, allocations: 20.38 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.1414, allocations: 204.4 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1415, allocations: 0 / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1415, allocations: 4 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1415, allocations: 4 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.142, allocations: 160.4 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1432, allocations: 464.8 kB / 384.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1443, allocations: 294.7 kB / 384.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.1446, allocations: 108.8 kB / 385 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1446, allocations: 0 / 385 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.1451, allocations: 167.2 kB / 385.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.1451, allocations: 0 / 385.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001098/0.1462, allocations: 360.1 kB / 385.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.1463, allocations: 59.41 kB / 385.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1465, allocations: 207.1 kB / 385.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.1466, allocations: 33.7 kB / 385.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1467, allocations: 144.5 kB / 386 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1469, allocations: 71.38 kB / 386 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.147, allocations: 65.69 kB / 386.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1472, allocations: 334.8 kB / 386.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.1476, allocations: 131.7 kB / 386.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.148, allocations: 173.4 kB / 386.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.1487, allocations: 283.1 kB / 387 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1487, allocations: 0 / 387 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008566/0.1496, allocations: 371.9 kB / 387.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1496, allocations: 8 kB / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1496, allocations: 0 / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1496, allocations: 0 / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.15, allocations: 79.91 kB / 387.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.15, allocations: 0 / 387.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1501, allocations: 35.83 kB / 387.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1502, allocations: 11.98 kB / 387.5 MB, free: 6.68 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.0001816/0.1504, allocations: 141.7 kB / 387.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.1504, allocations: 19.84 kB / 387.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.1505, allocations: 25.95 kB / 387.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1505, allocations: 7.938 kB / 387.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1505, allocations: 0 / 387.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1505, allocations: 0 / 387.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1517, allocations: 0.529 MB / 388.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1517, allocations: 4 kB / 388.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1519, allocations: 47.89 kB / 388.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1519, allocations: 3.938 kB / 388.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.152, allocations: 4 kB / 388.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.152, allocations: 0 / 388.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.152, allocations: 0 / 388.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.153, allocations: 482.3 kB / 388.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.1531, allocations: 23.89 kB / 388.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1531, allocations: 4 kB / 388.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.1533, allocations: 27.97 kB / 388.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.1534, allocations: 11.98 kB / 388.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1534, allocations: 19.86 kB / 388.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1535, allocations: 140.3 kB / 389 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 0 / 389 MB, free: 5.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.1539, allocations: 67.83 kB / 389 MB, free: 5.082 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.0005288/0.1545, allocations: 211.2 kB / 389.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.1553, allocations: 263.8 kB / 389.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1553, allocations: 0 / 389.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.1556, allocations: 115.8 kB / 389.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1559, allocations: 16 kB / 389.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.157, allocations: 481.5 kB / 390.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.1571, allocations: 129.2 kB / 390.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1572, allocations: 29.56 kB / 390.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.1573, allocations: 24.5 kB / 390.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1573, allocations: 4 kB / 390.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of Templates: time 0.007477/0.1648, allocations: 2.934 MB / 393.2 MB, free: 0.9102 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.828459621989168]