Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.001274/0.001274, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007175/0.007175, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8924/0.8924, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.494e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002019/0.002034, allocations: 1.785 MB / 300.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.003559, allocations: 1.213 MB / 301.4 MB, free: 488 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.003641, allocations: 0 / 301.4 MB, free: 488 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.00375, allocations: 19.73 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.003831, allocations: 31.67 kB / 301.5 MB, free: 436 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.004612, allocations: 326.8 kB / 301.8 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.138/0.1427, allocations: 215.6 kB / 302 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1428, allocations: 46.42 kB / 302.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.143, allocations: 137.8 kB / 302.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1431, allocations: 90.22 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.1431, allocations: 21.16 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.1437, allocations: 332.2 kB / 302.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1437, allocations: 63.17 kB / 302.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1438, allocations: 64.73 kB / 302.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1443, allocations: 453.6 kB / 303.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1443, allocations: 1.125 kB / 303.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1443, allocations: 0 / 303.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1443, allocations: 0 / 303.2 MB, free: 13.2 MB / 282.7 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.0007635/0.145, allocations: 0.5029 MB / 303.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1451, allocations: 17.81 kB / 303.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1451, allocations: 56.39 kB / 303.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1453, allocations: 35.19 kB / 303.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1454, allocations: 178 kB / 304 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1455, allocations: 18.55 kB / 304 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1455, allocations: 23.38 kB / 304 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1458, allocations: 200.4 kB / 304.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1458, allocations: 1.469 kB / 304.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1458, allocations: 5.422 kB / 304.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1458, allocations: 8.125 kB / 304.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1461, allocations: 161.1 kB / 304.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.1468, allocations: 0.5049 MB / 304.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.1474, allocations: 303.7 kB / 305.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1476, allocations: 105.5 kB / 305.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1476, allocations: 5.641 kB / 305.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.1479, allocations: 173.6 kB / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.1479, allocations: 0 / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007065/0.1486, allocations: 360.3 kB / 305.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1487, allocations: 60.67 kB / 305.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1489, allocations: 215.2 kB / 306.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1489, allocations: 42.34 kB / 306.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.149, allocations: 128.9 kB / 306.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.149, allocations: 75.86 kB / 306.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.1491, allocations: 65.84 kB / 306.4 MB, free: 11.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.1492, allocations: 335.8 kB / 306.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1494, allocations: 134.3 kB / 306.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1496, allocations: 167.5 kB / 307 MB, free: 11.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.1501, allocations: 268.6 kB / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1501, allocations: 0 / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005492/0.1506, allocations: 386.4 kB / 307.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1506, allocations: 6.922 kB / 307.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1506, allocations: 0 / 307.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1507, allocations: 6.906 kB / 307.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1508, allocations: 70.17 kB / 307.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1508, allocations: 2.719 kB / 307.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.931e-05/0.1509, allocations: 44.78 kB / 307.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.151, allocations: 8.922 kB / 307.8 MB, free: 11.07 MB / 282.7 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 9.785e-05/0.1511, allocations: 147.4 kB / 308 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.1511, allocations: 24.23 kB / 308 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1511, allocations: 20.53 kB / 308 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1511, allocations: 2.844 kB / 308 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1511, allocations: 0.625 kB / 308 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1511, allocations: 4.5 kB / 308 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.1519, allocations: 0.5781 MB / 308.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1519, allocations: 3.938 kB / 308.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.152, allocations: 55.86 kB / 308.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.152, allocations: 0.875 kB / 308.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.152, allocations: 3.656 kB / 308.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.152, allocations: 1.125 kB / 308.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.152, allocations: 0.9688 kB / 308.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.1527, allocations: 491.3 kB / 309.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.1527, allocations: 23.5 kB / 309.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1527, allocations: 9.875 kB / 309.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.1528, allocations: 21.89 kB / 309.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1529, allocations: 15.19 kB / 309.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1529, allocations: 7.422 kB / 309.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.153, allocations: 153.8 kB / 309.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.153, allocations: 0 / 309.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.1533, allocations: 107.8 kB / 309.5 MB, free: 10.15 MB / 282.7 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.001112/0.1544, allocations: 1.218 MB / 310.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.1549, allocations: 266.3 kB / 310.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1549, allocations: 0 / 310.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.155, allocations: 110.2 kB / 311 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1553, allocations: 33.25 kB / 311.1 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1578, allocations: 2.816 MB / 313.9 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.632e-05/0.1579, allocations: 134.2 kB / 314 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.158, allocations: 35.23 kB / 314.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.1581, allocations: 74.78 kB / 314.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1581, allocations: 0 / 314.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1802, allocations: 7.078 MB / 321.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.233, allocations: 5.031 kB / 321.2 MB, free: 4.469 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 9.384751861914992]