Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.001022/0.001022, allocations: 102.6 kB / 17.58 MB, free: 5.414 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.0009895/0.0009895, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.153/1.153, 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.00109/0.00109, allocations: 52.14 kB / 280.7 MB, free: 3.102 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06759/0.06869, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002183/0.07091, allocations: 1.53 MB / 328.9 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.07272, allocations: 1.458 MB / 330.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.07278, allocations: 0 / 330.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.272e-05/0.07286, allocations: 11.81 kB / 330.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.07294, allocations: 27.8 kB / 330.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.07371, allocations: 390.8 kB / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.07384, allocations: 127.6 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.07389, allocations: 13.48 kB / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.07395, allocations: 51.78 kB / 331 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.07402, allocations: 75.55 kB / 331 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.07405, allocations: 16 kB / 331.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.07457, allocations: 415.3 kB / 331.5 MB, free: 272 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.07463, allocations: 43.77 kB / 331.5 MB, free: 228 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.07469, allocations: 63.64 kB / 331.6 MB, free: 164 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.07514, allocations: 407.3 kB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07516, allocations: 4 kB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07516, allocations: 0 / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.07517, allocations: 0 / 332 MB, free: 15.76 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006283/0.0758, allocations: 0.5181 MB / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.07584, allocations: 8.031 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.0759, allocations: 46.67 kB / 332.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.0761, allocations: 28.73 kB / 332.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.07625, allocations: 204.8 kB / 332.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.07628, allocations: 8.375 kB / 332.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.0763, allocations: 8.375 kB / 332.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.07653, allocations: 136.3 kB / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.07655, allocations: 0 / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.07656, allocations: 4 kB / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.07657, allocations: 0 / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.07676, allocations: 67.94 kB / 333 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.0774, allocations: 0.5632 MB / 333.6 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.07771, allocations: 151.9 kB / 333.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.07783, allocations: 66.61 kB / 333.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.07785, allocations: 3.938 kB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.0781, allocations: 149.9 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.07811, allocations: 0 / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005036/0.07862, allocations: 257.3 kB / 334.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.07869, allocations: 118.9 kB / 334.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.07885, allocations: 206.8 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.0789, allocations: 45.69 kB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.07896, allocations: 112.5 kB / 334.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.079, allocations: 43.53 kB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.07907, allocations: 57.69 kB / 334.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.07917, allocations: 330.8 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.07936, allocations: 99.94 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.07956, allocations: 147.2 kB / 335.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.0799, allocations: 223.7 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.07991, allocations: 4 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004648/0.08038, allocations: 305.2 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.0804, allocations: 11.94 kB / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.08041, allocations: 0 / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.08043, allocations: 4 kB / 335.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.08057, allocations: 31.97 kB / 335.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.08058, allocations: 7.938 kB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.08067, allocations: 27.86 kB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.08069, allocations: 8 kB / 335.9 MB, free: 11.49 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001144/0.08081, allocations: 153.8 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.08084, allocations: 11.81 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.08087, allocations: 13.41 kB / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.08088, allocations: 4 kB / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.08089, allocations: 0 / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0809, allocations: 15.86 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.08107, allocations: 221.4 kB / 336.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.08108, allocations: 0 / 336.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.08114, allocations: 8 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.08115, allocations: 3.984 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.08116, allocations: 4 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.08117, allocations: 0 / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.08117, allocations: 0 / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.08152, allocations: 249.5 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.08157, allocations: 93 kB / 336.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.08161, allocations: 15.98 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.08168, allocations: 7.984 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.08173, allocations: 15.92 kB / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.08175, allocations: 8 kB / 336.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.737e-05/0.08185, allocations: 137.2 kB / 336.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08185, allocations: 0 / 336.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.08219, allocations: 128 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001218/0.08342, allocations: 1.081 MB / 338.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.08381, allocations: 203.7 kB / 338.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.08382, allocations: 0 / 338.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.08397, allocations: 76.08 kB / 338.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.08414, allocations: 15.92 kB / 338.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.08646, allocations: 2.309 MB / 340.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.08668, allocations: 0.724 MB / 341.4 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.08674, allocations: 17.42 kB / 341.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.08681, allocations: 47.42 kB / 341.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08682, allocations: 4 kB / 341.5 MB, free: 5.688 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.429/2.516, allocations: 5.527 MB / 347 MB, free: 100 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/19.29, allocations: 7.938 kB / 347 MB, free: 92 kB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches