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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 97.72 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB 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.00107/0.00107, allocations: 55.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06809/0.06917, allocations: 46.62 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002518/0.07172, allocations: 1.832 MB / 329.2 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.0732, allocations: 1.006 MB / 330.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.07331, allocations: 4 kB / 330.2 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.602e-05/0.07339, allocations: 19.73 kB / 330.2 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.07352, allocations: 27.67 kB / 330.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.07399, allocations: 191.5 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.07419, allocations: 219.5 kB / 330.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.07433, allocations: 72.03 kB / 330.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.07444, allocations: 99.61 kB / 330.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.07457, allocations: 107.5 kB / 330.9 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.07461, allocations: 20 kB / 331 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.07483, allocations: 143.8 kB / 331.1 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.0749, allocations: 55.81 kB / 331.2 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.07499, allocations: 111.4 kB / 331.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.07529, allocations: 295.4 kB / 331.6 MB, free: 160 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07531, allocations: 4 kB / 331.6 MB, free: 156 kB / 270.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.07531, allocations: 0 / 331.6 MB, free: 156 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.07533, allocations: 0 / 331.6 MB, free: 156 kB / 270.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.0009031/0.07623, allocations: 0.5546 MB / 332.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.07627, allocations: 8.031 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.07633, allocations: 54.73 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.07651, allocations: 36.64 kB / 332.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.07672, allocations: 236.8 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.07675, allocations: 12.38 kB / 332.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.07679, allocations: 32.27 kB / 332.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.07721, allocations: 206.5 kB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.07722, allocations: 7.875 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.07725, allocations: 8 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.07726, allocations: 4 kB / 332.7 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.07767, allocations: 160 kB / 332.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.07851, allocations: 0.5748 MB / 333.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.07944, allocations: 306.5 kB / 333.7 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.07971, allocations: 116.8 kB / 333.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.07973, allocations: 4 kB / 333.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.08006, allocations: 167.2 kB / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.08008, allocations: 0 / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008598/0.08094, allocations: 349.1 kB / 334.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.08099, allocations: 67.45 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.08116, allocations: 211.8 kB / 334.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.0812, allocations: 37.7 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.08127, allocations: 128.5 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.08133, allocations: 75 kB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.08142, allocations: 69.59 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.08152, allocations: 334.8 kB / 335.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.08183, allocations: 139.8 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.08216, allocations: 165.1 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.08273, allocations: 279.9 kB / 335.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.08274, allocations: 0 / 335.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007125/0.08346, allocations: 365.2 kB / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.08348, allocations: 7.281 kB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.08349, allocations: 3.984 kB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.0835, allocations: 0 / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.08377, allocations: 71.89 kB / 336.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.08379, allocations: 0 / 336.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.08395, allocations: 59.48 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.08398, allocations: 12 kB / 336.3 MB, free: 11.12 MB / 286.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.000113/0.08409, allocations: 145.7 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.08413, allocations: 15.81 kB / 336.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.08419, allocations: 21.88 kB / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.0842, allocations: 4 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.08421, allocations: 4 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.08422, allocations: 3.984 kB / 336.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.0852, allocations: 0.6424 MB / 337.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.08521, allocations: 0 / 337.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.08544, allocations: 47.95 kB / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.08545, allocations: 0 / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.08548, allocations: 7.984 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.08549, allocations: 0 / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.08549, allocations: 0 / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.08637, allocations: 495.8 kB / 337.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.08643, allocations: 100.9 kB / 337.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.08647, allocations: 7.984 kB / 337.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.08664, allocations: 19.98 kB / 337.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.08669, allocations: 11.97 kB / 337.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.08671, allocations: 8 kB / 337.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.08683, allocations: 151.2 kB / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08683, allocations: 0 / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.08714, allocations: 75.83 kB / 338.1 MB, free: 9.273 MB / 286.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.001346/0.08849, allocations: 1.129 MB / 339.2 MB, free: 8.129 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.08917, allocations: 291.6 kB / 339.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.08918, allocations: 4.062 kB / 339.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.08947, allocations: 119.8 kB / 339.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.08976, allocations: 24 kB / 339.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.09315, allocations: 2.807 MB / 342.4 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.0934, allocations: 0.7436 MB / 343.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.09351, allocations: 29.94 kB / 343.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.09362, allocations: 71.41 kB / 343.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09363, allocations: 0 / 343.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.412/2.506, allocations: 5.385 MB / 348.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16/18.51, allocations: 12 kB / 348.7 MB, free: 14.47 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches