Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00106/0.00106, allocations: 102.9 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.00121/0.00121, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.212/1.212, 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.001381/0.001381, allocations: 48.14 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07275/0.07415, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002312/0.07649, allocations: 1.476 MB / 328.9 MB, free: 2.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.0775, allocations: 0.5584 MB / 329.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.07757, allocations: 0 / 329.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.927e-05/0.07767, allocations: 7.875 kB / 329.4 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.07773, allocations: 31.72 kB / 329.5 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.07825, allocations: 143.6 kB / 329.6 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.07837, allocations: 119.6 kB / 329.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.07843, allocations: 9.125 kB / 329.7 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.07849, allocations: 51.83 kB / 329.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.07855, allocations: 51.75 kB / 329.8 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.07857, allocations: 12 kB / 329.8 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.0788, allocations: 127.8 kB / 330 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.07886, allocations: 39.83 kB / 330 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.07892, allocations: 47.73 kB / 330 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.07919, allocations: 215.6 kB / 330.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0792, allocations: 4 kB / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0792, allocations: 0 / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.07921, allocations: 0 / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005725/0.07979, allocations: 458.8 kB / 330.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.07983, allocations: 12.03 kB / 330.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.07989, allocations: 38.67 kB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.08019, allocations: 40.72 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.08034, allocations: 204 kB / 331 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.08037, allocations: 16.36 kB / 331 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.08039, allocations: 4.375 kB / 331 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.0806, allocations: 111.9 kB / 331.1 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.08062, allocations: 3.938 kB / 331.1 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.08063, allocations: 7.984 kB / 331.1 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.08064, allocations: 0 / 331.1 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.08081, allocations: 59.95 kB / 331.2 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.08142, allocations: 460.7 kB / 331.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.08171, allocations: 129.2 kB / 331.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.08183, allocations: 49.86 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.08184, allocations: 11.92 kB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.0821, allocations: 141 kB / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.08211, allocations: 0 / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004548/0.08257, allocations: 229.4 kB / 332.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.08263, allocations: 93.16 kB / 332.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.08277, allocations: 174.4 kB / 332.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.08281, allocations: 41.7 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.08288, allocations: 116.5 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.08292, allocations: 35.55 kB / 332.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.083, allocations: 61.91 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.08309, allocations: 330.8 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.08328, allocations: 100.4 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.08347, allocations: 135.5 kB / 333.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.08378, allocations: 210.9 kB / 333.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.08379, allocations: 0 / 333.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004283/0.08422, allocations: 293.2 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.08424, allocations: 12.06 kB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.08426, allocations: 0 / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.08427, allocations: 0 / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.08441, allocations: 31.91 kB / 333.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.08443, allocations: 4 kB / 333.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.0845, allocations: 15.84 kB / 333.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.08452, allocations: 12 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001037/0.08463, allocations: 149.7 kB / 334 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.08466, allocations: 19.8 kB / 334 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.08469, allocations: 9.406 kB / 334 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.0847, allocations: 4.094 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.08471, allocations: 0 / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.08472, allocations: 3.984 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.08488, allocations: 217.5 kB / 334.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.08489, allocations: 4 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.08494, allocations: 7.938 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.08495, allocations: 4 kB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.08496, allocations: 4 kB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.08497, allocations: 3.984 kB / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.08498, allocations: 11.88 kB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.08528, allocations: 214.9 kB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.08533, allocations: 92.91 kB / 334.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.08536, allocations: 12 kB / 334.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.08542, allocations: 11.98 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.08547, allocations: 7.984 kB / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.08548, allocations: 8 kB / 334.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.08557, allocations: 124.2 kB / 334.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08557, allocations: 0 / 334.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.08584, allocations: 63.86 kB / 334.8 MB, free: 12.57 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0008904/0.08674, allocations: 0.9383 MB / 335.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.0871, allocations: 195.8 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.08712, allocations: 3.938 kB / 335.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.08725, allocations: 64.08 kB / 336 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.08742, allocations: 8 kB / 336 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.08942, allocations: 2.099 MB / 338.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.08963, allocations: 0.7119 MB / 338.8 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.08968, allocations: 20.86 kB / 338.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.08975, allocations: 39.42 kB / 338.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08975, allocations: 0 / 338.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.179/3.268, allocations: 3.743 MB / 342.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/19.56, allocations: 11.67 kB / 342.6 MB, free: 4.531 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches