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.AutomaticSeed.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.AutomaticSeed,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.275/2.275, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003887, allocations: 16 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4685, allocations: 72.02 MB / 380.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4688, allocations: 63.97 kB / 380.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04461/0.5135, allocations: 8.152 MB / 388.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5135, allocations: 0 / 388.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.5136, allocations: 8 kB / 388.8 MB, free: 12.36 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001599/0.5152, allocations: 0.6397 MB / 389.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5152, allocations: 12.03 kB / 389.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.5154, allocations: 58.42 kB / 389.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.5166, allocations: 123.4 kB / 389.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.5171, allocations: 251 kB / 389.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.5172, allocations: 12 kB / 389.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.5174, allocations: 27.98 kB / 389.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.5183, allocations: 309.2 kB / 390.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5184, allocations: 4 kB / 390.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.5184, allocations: 3.938 kB / 390.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.5185, allocations: 4 kB / 390.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.5194, allocations: 207.7 kB / 390.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.5221, allocations: 1.079 MB / 391.5 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.5241, allocations: 427.6 kB / 391.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.5242, allocations: 8.062 kB / 391.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.5261, allocations: 351.3 kB / 392.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 1.003e-05/0.5261, allocations: 0 / 392.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003041/0.5292, allocations: 1.161 MB / 393.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.5294, allocations: 223.9 kB / 393.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.53, allocations: 299.5 kB / 394 MB, free: 6.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.5303, allocations: 81.66 kB / 394 MB, free: 6.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.5305, allocations: 173.2 kB / 394.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.5308, allocations: 126.5 kB / 394.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.5309, allocations: 8 kB / 394.3 MB, free: 6.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5311, allocations: 359.3 kB / 394.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5322, allocations: 273.5 kB / 395 MB, free: 5.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5334, allocations: 351.1 kB / 395.3 MB, free: 5.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5345, allocations: 310.5 kB / 395.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.5345, allocations: 0 / 395.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002575/0.5371, allocations: 0.7603 MB / 396.4 MB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5372, allocations: 8 kB / 396.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/0.5373, allocations: 4.188 kB / 396.4 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.5373, allocations: 11.95 kB / 396.4 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.5379, allocations: 75.83 kB / 396.5 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.538, allocations: 8 kB / 396.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5384, allocations: 59.42 kB / 396.5 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5385, allocations: 39.98 kB / 396.6 MB, free: 4.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0004872/0.539, allocations: 222.3 kB / 396.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5392, allocations: 35.53 kB / 396.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.5393, allocations: 30.7 kB / 396.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5393, allocations: 4 kB / 396.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5393, allocations: 7.953 kB / 396.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.5394, allocations: 4 kB / 396.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.54, allocations: 345.1 kB / 397.2 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.54, allocations: 0 / 397.2 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.5403, allocations: 35.91 kB / 397.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5403, allocations: 7.984 kB / 397.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.5404, allocations: 11.98 kB / 397.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.5404, allocations: 8 kB / 397.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5404, allocations: 4 kB / 397.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.5422, allocations: 0.6455 MB / 397.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.5425, allocations: 120.5 kB / 398 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.5427, allocations: 35.95 kB / 398.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.543, allocations: 27.92 kB / 398.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.5432, allocations: 43.89 kB / 398.1 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.5432, allocations: 15.98 kB / 398.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.5436, allocations: 223.1 kB / 398.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5437, allocations: 0 / 398.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008142/0.5445, allocations: 115.9 kB / 398.5 MB, free: 2.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition3,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition1,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw) * Number of discrete states: 24 (automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00382/0.5483, allocations: 1.898 MB / 400.4 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.5505, allocations: 0.7182 MB / 401.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5505, allocations: 0 / 401.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.5514, allocations: 204.4 kB / 401.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.5517, allocations: 25.02 kB / 401.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.5547, allocations: 1.897 MB / 403.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.5553, allocations: 0.7962 MB / 404 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.5556, allocations: 38.97 kB / 404.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.5558, allocations: 115.3 kB / 404.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5559, allocations: 0 / 404.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/0.6037, allocations: 7.504 MB / 411.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003817/0.6043, allocations: 233.3 kB / 411.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/3.603, allocations: 0 / 411.9 MB, free: 4.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat