Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|manualSeed1_y|manualSeed2_y|manualSeed3_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002262, allocations: 177.3 kB / 17.41 MB, free: 4.254 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.323/3.323, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 81.45 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006377, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6292/0.6299, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.8049, allocations: 76.56 MB / 452.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004784/0.8055, allocations: 79.95 kB / 452.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03323/0.8388, allocations: 8.141 MB / 460.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8389, allocations: 0 / 460.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.8389, allocations: 4 kB / 460.5 MB, free: 11.79 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.001829/0.8407, allocations: 0.6436 MB / 461.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.8408, allocations: 12.03 kB / 461.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.8422, allocations: 116.4 kB / 461.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.8427, allocations: 260.2 kB / 461.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.411e-05/0.8428, allocations: 16.55 kB / 461.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.843, allocations: 20.38 kB / 461.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.8439, allocations: 299.8 kB / 461.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.844, allocations: 11.86 kB / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.844, allocations: 0 / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.844, allocations: 4 kB / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.8448, allocations: 191.8 kB / 462.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.8471, allocations: 0.8503 MB / 462.9 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.8484, allocations: 423.5 kB / 463.3 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.8489, allocations: 177.5 kB / 463.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.849, allocations: 7.984 kB / 463.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/0.8499, allocations: 361.2 kB / 463.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 5.681e-06/0.8499, allocations: 4 kB / 463.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002345/0.8523, allocations: 0.6662 MB / 464.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.8525, allocations: 223.8 kB / 464.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.8532, allocations: 340.3 kB / 465.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.8534, allocations: 81.66 kB / 465.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.8536, allocations: 161.3 kB / 465.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.8538, allocations: 130.5 kB / 465.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.8539, allocations: 15.92 kB / 465.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.8541, allocations: 358.8 kB / 465.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.8549, allocations: 273.5 kB / 466.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.8558, allocations: 355.1 kB / 466.4 MB, free: 5.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.8573, allocations: 0.5862 MB / 467 MB, free: 4.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.8573, allocations: 0 / 467 MB, free: 4.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002083/0.8594, allocations: 0.7528 MB / 467.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.8595, allocations: 8 kB / 467.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.8595, allocations: 7.984 kB / 467.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.8596, allocations: 4 kB / 467.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.86, allocations: 79.83 kB / 467.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.86, allocations: 4 kB / 467.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.8604, allocations: 75.36 kB / 467.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8605, allocations: 35.97 kB / 468 MB, free: 3.91 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 () * 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.0005245/0.861, allocations: 214.4 kB / 468.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8612, allocations: 43.52 kB / 468.2 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.8613, allocations: 30.7 kB / 468.2 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.8613, allocations: 8 kB / 468.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8613, allocations: 0 / 468.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.8614, allocations: 7.938 kB / 468.3 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.8619, allocations: 341.1 kB / 468.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8619, allocations: 3.984 kB / 468.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.8621, allocations: 31.92 kB / 468.6 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.8621, allocations: 8 kB / 468.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.8622, allocations: 7.984 kB / 468.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.8622, allocations: 4 kB / 468.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8622, allocations: 0 / 468.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.8636, allocations: 0.5981 MB / 469.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8637, allocations: 120.6 kB / 469.4 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8639, allocations: 35.97 kB / 469.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.8641, allocations: 19.98 kB / 469.4 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8642, allocations: 47.88 kB / 469.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.8643, allocations: 15.98 kB / 469.5 MB, free: 2.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003816/0.8647, allocations: 223.1 kB / 469.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8647, allocations: 0 / 469.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009169/0.8656, allocations: 115.9 kB / 469.8 MB, free: 1.941 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]) * 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.00101/0.8667, allocations: 276.3 kB / 470.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.8688, allocations: 0.7298 MB / 470.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.8689, allocations: 0 / 470.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.8695, allocations: 212.2 kB / 471 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.87, allocations: 21.09 kB / 471 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.8716, allocations: 0.6787 MB / 471.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.8721, allocations: 0.7806 MB / 472.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.8723, allocations: 35.36 kB / 472.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.8723, allocations: 0 / 472.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01379/0.8861, allocations: 5.356 MB / 477.9 MB, free: 9.754 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/AutomaticSeed/AutomaticSeed.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches