Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001703/0.001702, allocations: 181.8 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 229.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 102.7 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.763e-06, allocations: 0 / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2275, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08363/0.3112, allocations: 76.64 MB / 463.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.3115, allocations: 67.97 kB / 463.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02267/0.3342, allocations: 8.064 MB / 471.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3342, allocations: 8 kB / 471.7 MB, free: 2.023 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.0008848/0.3351, allocations: 0.5887 MB / 472.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3352, allocations: 8.031 kB / 472.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.336, allocations: 127.4 kB / 472.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3363, allocations: 251.1 kB / 472.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3363, allocations: 4 kB / 472.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3364, allocations: 14.62 kB / 472.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002147/0.3366, allocations: 108.5 kB / 472.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3369, allocations: 252.3 kB / 473 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.337, allocations: 0 / 473 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.337, allocations: 0 / 473 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.337, allocations: 11.89 kB / 473 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.338, allocations: 0.7342 MB / 473.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.3384, allocations: 304.3 kB / 474.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3386, allocations: 141 kB / 474.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3386, allocations: 4 kB / 474.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.339, allocations: 287.4 kB / 474.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.339, allocations: 0 / 474.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005377/0.3395, allocations: 337.6 kB / 474.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.3396, allocations: 227.7 kB / 475 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.3399, allocations: 279.3 kB / 475.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.34, allocations: 77.67 kB / 475.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3401, allocations: 125.3 kB / 475.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/0.3402, allocations: 114.6 kB / 475.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3403, allocations: 8 kB / 475.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3404, allocations: 358.8 kB / 476 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.3407, allocations: 217.4 kB / 476.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.3411, allocations: 288.6 kB / 476.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.3417, allocations: 268.3 kB / 476.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3417, allocations: 7.844 kB / 476.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001091/0.3428, allocations: 0.646 MB / 477.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3429, allocations: 7.984 kB / 477.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.3429, allocations: 8 kB / 477.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3429, allocations: 8.188 kB / 477.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.3433, allocations: 76.77 kB / 477.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3433, allocations: 8 kB / 477.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.3435, allocations: 55.42 kB / 477.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.3436, allocations: 35.98 kB / 477.6 MB, free: 11.76 MB / 362.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.0001655/0.3437, allocations: 177.4 kB / 477.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.3438, allocations: 35.53 kB / 477.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.3438, allocations: 30.64 kB / 477.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3439, allocations: 4 kB / 477.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3439, allocations: 0 / 477.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3439, allocations: 11.98 kB / 477.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3442, allocations: 295 kB / 478.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3442, allocations: 4 kB / 478.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.3444, allocations: 35.97 kB / 478.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3444, allocations: 4 kB / 478.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3444, allocations: 4 kB / 478.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3444, allocations: 11.89 kB / 478.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3444, allocations: 0 / 478.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004975/0.3449, allocations: 465.8 kB / 478.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.345, allocations: 124.5 kB / 478.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3451, allocations: 31.97 kB / 478.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3453, allocations: 23.98 kB / 478.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.3454, allocations: 39.84 kB / 478.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.3454, allocations: 23.98 kB / 478.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001739/0.3456, allocations: 201.2 kB / 479.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.3461, allocations: 91.98 kB / 479.2 MB, free: 10.04 MB / 362.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.0005421/0.3466, allocations: 268.3 kB / 479.4 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.3475, allocations: 0.6269 MB / 480.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3475, allocations: 4 kB / 480.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.3477, allocations: 155.8 kB / 480.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.3479, allocations: 21.08 kB / 480.2 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.3488, allocations: 446.7 kB / 480.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.3492, allocations: 0.8329 MB / 481.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3492, allocations: 0 / 481.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of Templates: time 0.009262/0.3585, allocations: 4.687 MB / 486.2 MB, free: 2.977 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches