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.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.0009129/0.0009129, allocations: 83.64 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.006823/0.006823, allocations: 162.5 kB / 24.69 MB, free: 9.441 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.9221/0.9221, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.552e-05, allocations: 6.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002973/0.002998, allocations: 1.778 MB / 300.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004568, allocations: 0.9712 MB / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.004745, allocations: 0 / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.00491, allocations: 19.73 kB / 301.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.005171, allocations: 39.66 kB / 301.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.005997, allocations: 199.2 kB / 301.5 MB, free: 484 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.006264, allocations: 223.4 kB / 301.7 MB, free: 260 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.006432, allocations: 52.53 kB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.006616, allocations: 135.7 kB / 301.9 MB, free: 76 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1356/0.1422, allocations: 84.53 kB / 301.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1423, allocations: 21.62 kB / 302 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.1428, allocations: 172.2 kB / 302.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.1429, allocations: 59.03 kB / 302.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.143, allocations: 69.22 kB / 302.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.1435, allocations: 331 kB / 302.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1436, allocations: 0.7031 kB / 302.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1436, allocations: 4.422 kB / 302.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1436, allocations: 1.438 kB / 302.6 MB, free: 12.84 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.00104/0.1446, allocations: 496.8 kB / 303.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1446, allocations: 13.48 kB / 303.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.003e-05/0.1447, allocations: 54.75 kB / 303.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1449, allocations: 37.52 kB / 303.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1451, allocations: 183.6 kB / 303.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.1451, allocations: 19.2 kB / 303.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.1452, allocations: 23.44 kB / 303.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1456, allocations: 199.8 kB / 303.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1456, allocations: 4.016 kB / 303.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1456, allocations: 4.562 kB / 303.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1456, allocations: 8.406 kB / 303.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1459, allocations: 152.9 kB / 303.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.1467, allocations: 0.5012 MB / 304.3 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.1474, allocations: 298 kB / 304.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1476, allocations: 114.1 kB / 304.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1477, allocations: 2.375 kB / 304.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.148, allocations: 172.4 kB / 304.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 3.016e-06/0.148, allocations: 0 / 304.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008207/0.1489, allocations: 355 kB / 305.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1489, allocations: 61.12 kB / 305.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1491, allocations: 217 kB / 305.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1491, allocations: 44.66 kB / 305.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.1492, allocations: 127.6 kB / 305.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1492, allocations: 82.08 kB / 305.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1493, allocations: 68.47 kB / 305.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.1494, allocations: 334.1 kB / 306.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1496, allocations: 130.9 kB / 306.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1499, allocations: 169 kB / 306.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1503, allocations: 261.6 kB / 306.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1503, allocations: 0.5625 kB / 306.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005417/0.1508, allocations: 389 kB / 307 MB, free: 11.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1508, allocations: 6.516 kB / 307 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1508, allocations: 1.469 kB / 307 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1509, allocations: 2.094 kB / 307 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1511, allocations: 72.59 kB / 307.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1511, allocations: 2.984 kB / 307.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.1512, allocations: 36.17 kB / 307.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1512, allocations: 16.03 kB / 307.2 MB, free: 11.06 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 0.0001305/0.1513, allocations: 149.1 kB / 307.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.1513, allocations: 29.52 kB / 307.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.1514, allocations: 23.98 kB / 307.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1514, allocations: 5.531 kB / 307.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.1514, allocations: 0.6094 kB / 307.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1514, allocations: 1.406 kB / 307.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.1522, allocations: 0.5763 MB / 307.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1522, allocations: 5.625 kB / 307.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1523, allocations: 42.2 kB / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1523, allocations: 0.8438 kB / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1524, allocations: 9.422 kB / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1524, allocations: 0 / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1524, allocations: 0.75 kB / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.153, allocations: 492 kB / 308.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.153, allocations: 23.34 kB / 308.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1531, allocations: 10.19 kB / 308.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.1532, allocations: 21.2 kB / 308.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1532, allocations: 19.73 kB / 308.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1532, allocations: 6.438 kB / 308.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1533, allocations: 150.4 kB / 308.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1533, allocations: 0 / 308.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.1537, allocations: 69.45 kB / 308.8 MB, free: 10.34 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.001097/0.1548, allocations: 1.148 MB / 309.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1553, allocations: 265.6 kB / 310.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1553, allocations: 0.9688 kB / 310.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.1555, allocations: 110.9 kB / 310.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1557, allocations: 27.34 kB / 310.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1589, allocations: 2.815 MB / 313.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.159, allocations: 138.6 kB / 313.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1591, allocations: 35.19 kB / 313.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1592, allocations: 69.69 kB / 313.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1592, allocations: 0 / 313.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1827, allocations: 6.349 MB / 319.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.132, allocations: 10.11 kB / 319.7 MB, free: 5.211 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.370894825085998]