Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.001246/0.001246, allocations: 122.2 kB / 18.45 MB, free: 4.457 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.001226/0.001226, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.6 MB / 231.8 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 49.11 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003693/0.1119, allocations: 1.848 MB / 393.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1142, allocations: 1.017 MB / 394.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1143, allocations: 0 / 394.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1145, allocations: 23.67 kB / 394.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1147, allocations: 35.72 kB / 394.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.1153, allocations: 187.5 kB / 394.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1156, allocations: 219.5 kB / 394.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.1158, allocations: 52.28 kB / 394.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.116, allocations: 103.6 kB / 394.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1161, allocations: 111.5 kB / 395 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.1162, allocations: 20 kB / 395 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.1165, allocations: 155.8 kB / 395.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.1166, allocations: 59.77 kB / 395.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1167, allocations: 99.45 kB / 395.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1172, allocations: 302.8 kB / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1172, allocations: 0 / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1172, allocations: 0 / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.1172, allocations: 4 kB / 395.6 MB, free: 4.488 MB / 318.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.001364/0.1185, allocations: 0.5657 MB / 396.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1186, allocations: 8.031 kB / 396.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.922e-05/0.1187, allocations: 62.53 kB / 396.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.1189, allocations: 44.78 kB / 396.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1192, allocations: 228.9 kB / 396.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1192, allocations: 16.38 kB / 396.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1193, allocations: 24.38 kB / 396.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.1198, allocations: 202.5 kB / 396.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1198, allocations: 0 / 396.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1198, allocations: 4 kB / 396.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1198, allocations: 8 kB / 396.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.1203, allocations: 152.1 kB / 396.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1214, allocations: 0.5866 MB / 397.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1225, allocations: 306.5 kB / 397.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.1228, allocations: 116.7 kB / 397.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1228, allocations: 0 / 397.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.1232, allocations: 163.3 kB / 398 MB, free: 1.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.1232, allocations: 3.938 kB / 398.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00111/0.1244, allocations: 361.2 kB / 398.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.1244, allocations: 59.34 kB / 398.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1247, allocations: 215.8 kB / 398.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.1248, allocations: 41.69 kB / 398.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1249, allocations: 128.7 kB / 398.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.125, allocations: 79.36 kB / 398.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1251, allocations: 61.69 kB / 399 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.1254, allocations: 338.8 kB / 399.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.1257, allocations: 131.9 kB / 399.4 MB, free: 420 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1261, allocations: 161.4 kB / 399.6 MB, free: 252 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.1267, allocations: 276.5 kB / 399.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1267, allocations: 0 / 399.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00081/0.1275, allocations: 385 kB / 400.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1275, allocations: 4 kB / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1275, allocations: 0 / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1276, allocations: 4 kB / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.1279, allocations: 67.89 kB / 400.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.605e-05/0.1279, allocations: 4 kB / 400.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1281, allocations: 47.7 kB / 400.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1281, allocations: 8 kB / 400.4 MB, free: 15.45 MB / 334.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.0001805/0.1283, allocations: 153.6 kB / 400.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1283, allocations: 15.91 kB / 400.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-05/0.1284, allocations: 21.86 kB / 400.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1284, allocations: 0 / 400.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1284, allocations: 0 / 400.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1284, allocations: 8 kB / 400.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1296, allocations: 0.6423 MB / 401.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1296, allocations: 0 / 401.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1299, allocations: 39.97 kB / 401.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.1299, allocations: 7.984 kB / 401.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1299, allocations: 4 kB / 401.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1299, allocations: 0 / 401.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1299, allocations: 0 / 401.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.131, allocations: 497 kB / 401.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.131, allocations: 100.9 kB / 401.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.1312, allocations: 8.062 kB / 401.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1313, allocations: 27.91 kB / 401.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1314, allocations: 15.98 kB / 401.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1314, allocations: 4 kB / 401.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1316, allocations: 151.2 kB / 402 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 0 / 402 MB, free: 13.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000407/0.132, allocations: 71.89 kB / 402.1 MB, free: 13.61 MB / 334.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 (18): * Single equations (assignments): 16 * 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.001956/0.1339, allocations: 1.142 MB / 403.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007094/0.1346, allocations: 267.6 kB / 403.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1346, allocations: 0 / 403.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.1349, allocations: 111.9 kB / 403.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1353, allocations: 23.86 kB / 403.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.1397, allocations: 2.8 MB / 406.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1402, allocations: 0.7398 MB / 407.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1403, allocations: 41.91 kB / 407.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1405, allocations: 67.41 kB / 407.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1405, allocations: 0 / 407.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1728, allocations: 5.527 MB / 412.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.217, allocations: 4.062 kB / 412.8 MB, free: 2.703 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 11.881109374109656]