Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 200 kB / 18.07 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007347, allocations: 96.34 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003051, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2199, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08899/0.3089, allocations: 78.18 MB / 486.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.3092, allocations: 71.95 kB / 486.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.3309, allocations: 8.393 MB / 495.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3309, allocations: 0 / 495.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3309, allocations: 4 kB / 495.3 MB, free: 4.895 MB / 362.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.001019/0.332, allocations: 0.6397 MB / 495.9 MB, free: 4.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.332, allocations: 12.03 kB / 496 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.3327, allocations: 116.4 kB / 496.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.333, allocations: 256.2 kB / 496.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.333, allocations: 20.55 kB / 496.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.3331, allocations: 24.36 kB / 496.4 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.3336, allocations: 292.1 kB / 496.7 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3336, allocations: 7.938 kB / 496.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3337, allocations: 0 / 496.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3337, allocations: 4 kB / 496.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.3341, allocations: 195.8 kB / 496.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3354, allocations: 0.8426 MB / 497.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.3362, allocations: 428.2 kB / 498.1 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3366, allocations: 185.1 kB / 498.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3366, allocations: 3.984 kB / 498.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.3371, allocations: 359.5 kB / 498.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.816e-06/0.3372, allocations: 4 kB / 498.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001368/0.3385, allocations: 0.6729 MB / 499.3 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3386, allocations: 223.8 kB / 499.5 MB, free: 324 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.339, allocations: 336.3 kB / 499.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.3391, allocations: 81.66 kB / 500 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3393, allocations: 165.2 kB / 0.4884 GB, free: 15.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3394, allocations: 121.6 kB / 0.4885 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3395, allocations: 15.98 kB / 0.4885 GB, free: 15.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3396, allocations: 370.7 kB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.3402, allocations: 257.5 kB / 0.4891 GB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.3407, allocations: 359.1 kB / 0.4895 GB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.3417, allocations: 0.5784 MB / 0.49 GB, free: 14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3417, allocations: 0 / 0.49 GB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001347/0.3431, allocations: 0.7449 MB / 0.4908 GB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3431, allocations: 4 kB / 0.4908 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.3431, allocations: 11.98 kB / 0.4908 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3432, allocations: 4 kB / 0.4908 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3435, allocations: 75.83 kB / 0.4909 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3435, allocations: 8 kB / 0.4909 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.3438, allocations: 71.36 kB / 0.4909 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.3438, allocations: 35.97 kB / 0.491 GB, free: 13.04 MB / 378.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 () * 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.0002821/0.3441, allocations: 218.3 kB / 0.4912 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.3442, allocations: 35.53 kB / 0.4912 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.3443, allocations: 30.7 kB / 0.4912 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3443, allocations: 4 kB / 0.4912 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3443, allocations: 7.984 kB / 0.4912 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3443, allocations: 3.938 kB / 0.4912 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.3447, allocations: 341.1 kB / 0.4916 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3447, allocations: 4 kB / 0.4916 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3448, allocations: 35.97 kB / 0.4916 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3448, allocations: 0 / 0.4916 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.3449, allocations: 15.98 kB / 0.4916 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3449, allocations: 0 / 0.4916 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3449, allocations: 8 kB / 0.4916 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.3458, allocations: 0.588 MB / 0.4922 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.3459, allocations: 124.5 kB / 0.4923 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3461, allocations: 35.95 kB / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3462, allocations: 27.98 kB / 0.4924 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3463, allocations: 39.88 kB / 0.4924 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3464, allocations: 19.98 kB / 0.4924 GB, free: 11.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.3466, allocations: 219.1 kB / 0.4927 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3466, allocations: 3.938 kB / 0.4927 GB, free: 11.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.3471, allocations: 107.9 kB / 0.4928 GB, free: 11.09 MB / 378.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]) * 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.0005513/0.3476, allocations: 270.5 kB / 0.493 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3488, allocations: 0.718 MB / 0.4937 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3488, allocations: 0 / 0.4937 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.3492, allocations: 212.7 kB / 0.4939 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3495, allocations: 28.58 kB / 0.494 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3505, allocations: 0.6749 MB / 0.4946 GB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3508, allocations: 0.7923 MB / 0.4954 GB, free: 8.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.3509, allocations: 31.42 kB / 0.4954 GB, free: 8.281 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.351, allocations: 0 / 0.4954 GB, free: 8.281 MB / 378.7 MB Notification: Performance of Templates: time 0.00875/0.3597, allocations: 5.351 MB / 0.5006 GB, free: 2.949 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches