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.001686/0.001686, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001957/0.001957, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1165, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003324/0.1198, allocations: 1.87 MB / 428.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1222, allocations: 1.305 MB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1223, allocations: 4 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1224, allocations: 23.73 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1226, allocations: 31.72 kB / 429.9 MB, free: 1.738 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.001016/0.1236, allocations: 315 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1239, allocations: 215.5 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1241, allocations: 56.2 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1243, allocations: 95.62 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008735/0.1251, allocations: 139.3 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.1252, allocations: 20 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.1258, allocations: 303.5 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.1259, allocations: 55.83 kB / 431.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.126, allocations: 95.45 kB / 431.2 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.1267, allocations: 390.6 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1267, allocations: 0 / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1267, allocations: 3.938 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1268, allocations: 4 kB / 431.6 MB, free: 84 kB / 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.001374/0.1281, allocations: 0.5891 MB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1282, allocations: 8.031 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.1283, allocations: 54.69 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.1285, allocations: 32.78 kB / 432.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1289, allocations: 244 kB / 432.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1289, allocations: 20.31 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.129, allocations: 16.38 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.1295, allocations: 214.5 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1295, allocations: 0 / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1295, allocations: 4 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1295, allocations: 7.984 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.13, allocations: 160.1 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1312, allocations: 0.5827 MB / 433.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1323, allocations: 298.6 kB / 433.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.1326, allocations: 104.8 kB / 433.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1326, allocations: 4 kB / 433.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.1331, allocations: 162.3 kB / 434 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.754e-06/0.1331, allocations: 0 / 434 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001091/0.1342, allocations: 365 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.1342, allocations: 67.39 kB / 434.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1345, allocations: 218.7 kB / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.1345, allocations: 45.69 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1347, allocations: 128.6 kB / 434.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.94e-05/0.1347, allocations: 75.38 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1349, allocations: 69.69 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.135, allocations: 334.8 kB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1354, allocations: 127.9 kB / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.1357, allocations: 165.6 kB / 435.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/0.1364, allocations: 271.1 kB / 435.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1364, allocations: 4 kB / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008503/0.1373, allocations: 374 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1373, allocations: 11.92 kB / 436.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1373, allocations: 0 / 436.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1373, allocations: 4 kB / 436.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.1377, allocations: 71.92 kB / 436.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1377, allocations: 0 / 436.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1379, allocations: 39.81 kB / 436.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1379, allocations: 12 kB / 436.4 MB, free: 11.02 MB / 366.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.0001928/0.1381, allocations: 149.7 kB / 436.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1381, allocations: 19.86 kB / 436.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.1382, allocations: 25.86 kB / 436.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1382, allocations: 3.984 kB / 436.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1382, allocations: 0 / 436.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1382, allocations: 4 kB / 436.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1394, allocations: 0.623 MB / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1394, allocations: 0 / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1397, allocations: 47.95 kB / 437.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1397, allocations: 0 / 437.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1397, allocations: 7.938 kB / 437.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1397, allocations: 0 / 437.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1397, allocations: 4 kB / 437.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.1408, allocations: 487.9 kB / 437.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.1409, allocations: 100.9 kB / 437.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.141, allocations: 12 kB / 437.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1411, allocations: 19.97 kB / 437.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1412, allocations: 11.98 kB / 437.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1412, allocations: 7.984 kB / 437.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1414, allocations: 160.7 kB / 438 MB, free: 9.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1414, allocations: 0 / 438 MB, free: 9.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.142, allocations: 103.7 kB / 438.1 MB, free: 9.16 MB / 366.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.002109/0.1441, allocations: 1.169 MB / 439.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000846/0.1449, allocations: 267.7 kB / 439.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1449, allocations: 0 / 439.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.1452, allocations: 107.9 kB / 439.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1456, allocations: 29.94 kB / 439.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.1503, allocations: 2.828 MB / 442.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1507, allocations: 0.7398 MB / 443.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1509, allocations: 33.92 kB / 443.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.151, allocations: 71.41 kB / 443.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.151, allocations: 0 / 443.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2296/0.3806, allocations: 6.073 MB / 449.4 MB, free: 24.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/8.861, allocations: 11.11 kB / 449.5 MB, free: 24.27 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.601450043264776]