Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed") translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 196.4 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009637/0.0009637, allocations: 94.62 kB / 286.3 MB, free: 5.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.784e-05, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.4105, allocations: 77.44 MB / 472.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4107, allocations: 74.3 kB / 472.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01921/0.43, allocations: 8.06 MB / 480.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.43, allocations: 4 kB / 480.2 MB, free: 8.688 MB / 346.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.0008164/0.4308, allocations: 0.5888 MB / 480.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4309, allocations: 8.031 kB / 480.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.4317, allocations: 130.8 kB / 480.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4319, allocations: 249.4 kB / 481.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.4319, allocations: 4 kB / 481.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.432, allocations: 12 kB / 481.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002014/0.4322, allocations: 111 kB / 481.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.4325, allocations: 244.3 kB / 481.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4325, allocations: 0 / 481.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4325, allocations: 11.91 kB / 481.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4325, allocations: 3.984 kB / 481.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.4333, allocations: 0.7365 MB / 482.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.4337, allocations: 299.3 kB / 482.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.4339, allocations: 136.2 kB / 482.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4339, allocations: 0 / 482.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.4342, allocations: 285.9 kB / 483 MB, free: 6.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4342, allocations: 0 / 483 MB, free: 6.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005008/0.4347, allocations: 345.5 kB / 483.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.4348, allocations: 228.3 kB / 483.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.4351, allocations: 282.7 kB / 483.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4352, allocations: 75.55 kB / 483.9 MB, free: 5.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.4353, allocations: 130.5 kB / 484 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.4354, allocations: 113.5 kB / 484.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.4354, allocations: 4 kB / 484.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4355, allocations: 363.6 kB / 484.5 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.4358, allocations: 213.8 kB / 484.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.4361, allocations: 302.8 kB / 485 MB, free: 4.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.4367, allocations: 261.8 kB / 485.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4367, allocations: 4 kB / 485.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009957/0.4377, allocations: 0.6475 MB / 485.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4377, allocations: 11.98 kB / 485.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.4377, allocations: 4 kB / 485.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4378, allocations: 4 kB / 485.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.4381, allocations: 83.2 kB / 486 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4381, allocations: 7.906 kB / 486 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.4383, allocations: 48.95 kB / 486.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.4384, allocations: 34.61 kB / 486.1 MB, free: 3.414 MB / 346.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.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,$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.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.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,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 () * 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.0001817/0.4386, allocations: 180.4 kB / 486.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.4386, allocations: 35.53 kB / 486.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.4387, allocations: 30.08 kB / 486.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4387, allocations: 4 kB / 486.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4387, allocations: 4 kB / 486.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4388, allocations: 7.984 kB / 486.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.4391, allocations: 297.4 kB / 486.6 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.4391, allocations: 0 / 486.6 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.4392, allocations: 39.59 kB / 486.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4392, allocations: 8 kB / 486.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.4393, allocations: 9.656 kB / 486.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4393, allocations: 7.984 kB / 486.7 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4393, allocations: 0 / 486.7 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004661/0.4398, allocations: 461.2 kB / 487.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.4398, allocations: 120.5 kB / 487.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.4399, allocations: 36.34 kB / 487.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.4401, allocations: 27.3 kB / 487.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4402, allocations: 42.09 kB / 487.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.4402, allocations: 15.98 kB / 487.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001664/0.4404, allocations: 204.5 kB / 487.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004699/0.4409, allocations: 94.42 kB / 487.7 MB, free: 1.887 MB / 346.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,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],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]) * 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.0006589/0.4416, allocations: 256.6 kB / 487.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.4423, allocations: 0.6266 MB / 488.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4424, allocations: 0 / 488.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.4426, allocations: 162.3 kB / 488.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.4428, allocations: 23.39 kB / 488.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.4436, allocations: 428.8 kB / 489.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.444, allocations: 0.8405 MB / 490 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.444, allocations: 3.938 kB / 490 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Templates: time 0.009164/0.4532, allocations: 4.695 MB / 494.7 MB, free: 11.14 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches