Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.203/2.203, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006393, allocations: 12 kB / 264.1 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4028, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5378, allocations: 71.98 MB / 380.5 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.5382, allocations: 71.97 kB / 380.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01919/0.5574, allocations: 4.171 MB / 384.8 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5575, allocations: 0 / 384.8 MB, free: 444 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.5575, allocations: 0 / 384.8 MB, free: 444 kB / 314.7 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.0009124/0.5584, allocations: 463.3 kB / 385.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5585, allocations: 8.031 kB / 385.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.387e-05/0.5586, allocations: 42.47 kB / 385.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.559, allocations: 35.88 kB / 385.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.5593, allocations: 198.7 kB / 385.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.5593, allocations: 7.984 kB / 385.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.5594, allocations: 8 kB / 385.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.5597, allocations: 123 kB / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5598, allocations: 0 / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.5598, allocations: 0 / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5598, allocations: 4 kB / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.5601, allocations: 67.89 kB / 385.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/0.5611, allocations: 468.7 kB / 386.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.5617, allocations: 141.2 kB / 386.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5617, allocations: 0 / 386.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.5621, allocations: 153 kB / 386.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.5621, allocations: 0 / 386.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001023/0.5632, allocations: 415.9 kB / 386.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.5633, allocations: 85.11 kB / 387 MB, free: 14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5635, allocations: 177.3 kB / 387.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.5636, allocations: 41.7 kB / 387.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5637, allocations: 116.4 kB / 387.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.5638, allocations: 35.56 kB / 387.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.5638, allocations: 11.98 kB / 387.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.564, allocations: 326.8 kB / 387.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.5644, allocations: 88.47 kB / 387.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.5647, allocations: 123.5 kB / 387.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.5651, allocations: 107.9 kB / 388 MB, free: 12.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5651, allocations: 0 / 388 MB, free: 12.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000902/0.5661, allocations: 281.3 kB / 388.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5661, allocations: 12 kB / 388.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.5661, allocations: 0 / 388.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.5662, allocations: 11.92 kB / 388.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.5665, allocations: 27.92 kB / 388.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5665, allocations: 0 / 388.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5666, allocations: 15.91 kB / 388.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.5667, allocations: 16.42 kB / 388.3 MB, free: 12.59 MB / 330.7 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,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.5669, allocations: 157.8 kB / 388.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.567, allocations: 15.8 kB / 388.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.567, allocations: 13.41 kB / 388.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5671, allocations: 0 / 388.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5671, allocations: 0 / 388.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5671, allocations: 4 kB / 388.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.5674, allocations: 221.4 kB / 388.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5674, allocations: 4 kB / 388.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.5675, allocations: 15.98 kB / 388.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5675, allocations: 0 / 388.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.5675, allocations: 0 / 388.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.5675, allocations: 4 kB / 388.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5676, allocations: 0 / 388.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.5682, allocations: 254.8 kB / 389 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.5683, allocations: 93 kB / 389.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.5683, allocations: 4 kB / 389.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5685, allocations: 15.98 kB / 389.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.5685, allocations: 7.984 kB / 389.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.5686, allocations: 7.984 kB / 389.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.5687, allocations: 127.2 kB / 389.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5688, allocations: 0 / 389.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.5692, allocations: 63.89 kB / 389.3 MB, free: 11.5 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.5711, allocations: 1.049 MB / 390.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007456/0.5719, allocations: 251.2 kB / 390.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5719, allocations: 0 / 390.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.5722, allocations: 63.92 kB / 390.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.5724, allocations: 7.938 kB / 390.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5737, allocations: 0.833 MB / 391.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.5741, allocations: 0.716 MB / 392.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.5742, allocations: 16.88 kB / 392.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5744, allocations: 35.42 kB / 392.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5744, allocations: 8 kB / 392.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.6068, allocations: 3.7 MB / 396 MB, free: 4.734 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.6072, allocations: 232 kB / 396.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.299, allocations: 3.938 kB / 396.2 MB, free: 4.48 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat