Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002346/0.002346, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.07/4.07, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001059/0.001059, allocations: 81.55 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005235, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5558, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.7717, allocations: 75.32 MB / 451 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/0.7723, allocations: 63.97 kB / 451.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008269/0.7805, allocations: 2.002 MB / 453.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.7806, allocations: 0 / 453.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.7807, allocations: 0 / 453.1 MB, free: 3.238 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005371/0.7812, allocations: 347.4 kB / 453.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.7813, allocations: 16.03 kB / 453.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.7813, allocations: 0.9375 kB / 453.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.7815, allocations: 176.4 kB / 453.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.7815, allocations: 4.312 kB / 453.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.7816, allocations: 384 / 453.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.7817, allocations: 30.27 kB / 453.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.7818, allocations: 4.172 kB / 453.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7818, allocations: 3.938 kB / 453.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7818, allocations: 0 / 453.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.7819, allocations: 4 kB / 453.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.7824, allocations: 249 kB / 453.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.7825, allocations: 34.5 kB / 454 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.7826, allocations: 12.86 kB / 454 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.7826, allocations: 0 / 454 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.7828, allocations: 59.39 kB / 454 MB, free: 2.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.7828, allocations: 0 / 454 MB, free: 2.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002832/0.7831, allocations: 61.53 kB / 454.1 MB, free: 2.082 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.7832, allocations: 55.34 kB / 454.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.7833, allocations: 105.8 kB / 454.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.7834, allocations: 25.7 kB / 454.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.7835, allocations: 80.14 kB / 454.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.7835, allocations: 11.91 kB / 454.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.7835, allocations: 0 / 454.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7837, allocations: 317.1 kB / 454.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.7838, allocations: 11.98 kB / 454.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.7838, allocations: 17.72 kB / 454.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.7839, allocations: 29.66 kB / 454.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.7839, allocations: 0 / 454.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/0.7841, allocations: 61.61 kB / 454.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7841, allocations: 8.031 kB / 454.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7841, allocations: 0 / 454.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7842, allocations: 4 kB / 454.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.7843, allocations: 7.938 kB / 454.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7843, allocations: 3.984 kB / 454.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.7843, allocations: 11.84 kB / 454.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7844, allocations: 0 / 454.8 MB, free: 1.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001338/0.7845, allocations: 117.8 kB / 454.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.7845, allocations: 7.922 kB / 454.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.7846, allocations: 7.906 kB / 455 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.7846, allocations: 4 kB / 455 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7846, allocations: 0 / 455 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.7846, allocations: 0 / 455 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.785, allocations: 278.6 kB / 455.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.785, allocations: 3.938 kB / 455.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.7851, allocations: 4 kB / 455.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7851, allocations: 0 / 455.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.7851, allocations: 3.984 kB / 455.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7851, allocations: 3.938 kB / 455.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7851, allocations: 4 kB / 455.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.7853, allocations: 147.8 kB / 455.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.7854, allocations: 81.02 kB / 455.5 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.7855, allocations: 4.422 kB / 455.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.7856, allocations: 3.984 kB / 455.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.7856, allocations: 3.984 kB / 455.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.7856, allocations: 4 kB / 455.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003308/0.789, allocations: 91.28 kB / 455.6 MB, free: 444 kB / 330.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.789, allocations: 0 / 455.6 MB, free: 444 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007061/0.7897, allocations: 35.98 kB / 455.6 MB, free: 408 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008782/0.7906, allocations: 190.5 kB / 455.8 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.7909, allocations: 16 kB / 455.8 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7909, allocations: 0 / 455.8 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.7909, allocations: 15.98 kB / 455.8 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.7913, allocations: 192 / 455.8 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.7919, allocations: 146.8 kB / 456 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.7925, allocations: 0.681 MB / 456.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.7925, allocations: 7.438 kB / 456.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7925, allocations: 0 / 456.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of Templates: time 0.004922/0.7975, allocations: 1.254 MB / 457.9 MB, free: 14.05 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches