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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.02 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.001135/0.001135, allocations: 192 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.19/1.19, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001104/0.001104, allocations: 55.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07612/0.07724, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002686/0.07997, allocations: 1.832 MB / 329.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.08183, allocations: 1.272 MB / 330.5 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.08192, allocations: 4 kB / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.08203, allocations: 27.67 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.08211, allocations: 27.72 kB / 330.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.08285, allocations: 319.1 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.08305, allocations: 215.5 kB / 331.1 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.0832, allocations: 68.05 kB / 331.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.08329, allocations: 87.64 kB / 331.2 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.08342, allocations: 119.5 kB / 331.3 MB, free: 396 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.08347, allocations: 28 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.08385, allocations: 283.5 kB / 331.6 MB, free: 84 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.08391, allocations: 55.83 kB / 331.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.08402, allocations: 103.5 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.08442, allocations: 391.2 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.08444, allocations: 3.938 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08444, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.08445, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.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.0009465/0.0854, allocations: 0.574 MB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.08545, allocations: 11.97 kB / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.08552, allocations: 62.66 kB / 332.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.08572, allocations: 32.64 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.08593, allocations: 236.7 kB / 333.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.08597, allocations: 20.36 kB / 333.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.08602, allocations: 28.28 kB / 333.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.08645, allocations: 202.5 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.08647, allocations: 4 kB / 333.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.08649, allocations: 4 kB / 333.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.0865, allocations: 4 kB / 333.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.08691, allocations: 156.1 kB / 333.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.08781, allocations: 0.5787 MB / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009407/0.08876, allocations: 314.5 kB / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.08904, allocations: 116.8 kB / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.08906, allocations: 0 / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.08942, allocations: 163.3 kB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.08943, allocations: 0 / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008859/0.09032, allocations: 353.1 kB / 335 MB, free: 12.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.09037, allocations: 71.33 kB / 335.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.09054, allocations: 207.8 kB / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.09058, allocations: 33.7 kB / 335.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.09066, allocations: 136.6 kB / 335.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.09071, allocations: 74.91 kB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.09081, allocations: 65.69 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.0909, allocations: 334.8 kB / 335.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.09122, allocations: 135.9 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.09155, allocations: 165.1 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.09212, allocations: 279.9 kB / 336.5 MB, free: 11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.09213, allocations: 0 / 336.5 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007152/0.09285, allocations: 377.1 kB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.09288, allocations: 7.125 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.09289, allocations: 0 / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.0929, allocations: 4 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.09318, allocations: 63.89 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.0932, allocations: 3.984 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.09335, allocations: 43.7 kB / 337 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.09338, allocations: 19.92 kB / 337 MB, free: 10.49 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.0001181/0.09351, allocations: 137.7 kB / 337.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.09354, allocations: 15.81 kB / 337.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.09361, allocations: 25.86 kB / 337.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.09362, allocations: 8 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.09363, allocations: 3.984 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.09364, allocations: 0 / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.09462, allocations: 0.6424 MB / 337.8 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09463, allocations: 0 / 337.8 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.09486, allocations: 55.89 kB / 337.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.09487, allocations: 0 / 337.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.0949, allocations: 4 kB / 337.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.0949, allocations: 0 / 337.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.09491, allocations: 3.984 kB / 337.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.09581, allocations: 492 kB / 338.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.09587, allocations: 100.8 kB / 338.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.09591, allocations: 8.062 kB / 338.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.09608, allocations: 19.98 kB / 338.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.09614, allocations: 15.91 kB / 338.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.09616, allocations: 8 kB / 338.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.09627, allocations: 151.2 kB / 338.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09628, allocations: 0 / 338.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.09666, allocations: 107.8 kB / 338.8 MB, free: 8.609 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.001645/0.09831, allocations: 1.187 MB / 339.9 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.09903, allocations: 295.6 kB / 340.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09904, allocations: 4 kB / 340.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.09934, allocations: 111.9 kB / 340.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.09966, allocations: 32.17 kB / 340.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.1032, allocations: 2.819 MB / 343.2 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1034, allocations: 0.7437 MB / 343.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1036, allocations: 29.94 kB / 344 MB, free: 3.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1037, allocations: 67.41 kB / 344 MB, free: 3.199 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1037, allocations: 4 kB / 344 MB, free: 3.195 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.209/8.313, allocations: 6.091 MB / 350.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/19.51, allocations: 11.92 kB / 350.1 MB, free: 13.03 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches