Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109.2 kB / 17.93 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 197.3 kB / 18.86 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 224.7 MB, free: 12.35 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 47.92 kB / 280.8 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09205, allocations: 46.63 MB / 327.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002765/0.09486, allocations: 1.404 MB / 328.8 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.09572, allocations: 365.2 kB / 329.2 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.09577, allocations: 0 / 329.2 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.09581, allocations: 0 / 329.2 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.0959, allocations: 7.938 kB / 329.2 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.09641, allocations: 75.84 kB / 329.3 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.09648, allocations: 19.94 kB / 329.3 MB, free: 2.891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.09653, allocations: 4 kB / 329.3 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.09657, allocations: 7.922 kB / 329.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.0966, allocations: 7.984 kB / 329.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.09661, allocations: 0 / 329.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.09679, allocations: 91.91 kB / 329.4 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.09682, allocations: 3.938 kB / 329.4 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.09686, allocations: 8 kB / 329.4 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.09702, allocations: 63.84 kB / 329.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09703, allocations: 0 / 329.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09704, allocations: 0 / 329.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.09705, allocations: 0 / 329.5 MB, free: 2.707 MB / 270.1 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.0004357/0.09749, allocations: 347.7 kB / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.09754, allocations: 8.031 kB / 329.8 MB, free: 2.309 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.09758, allocations: 4.938 kB / 329.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.09772, allocations: 172.2 kB / 330 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.09775, allocations: 4.375 kB / 330 MB, free: 2.094 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.09776, allocations: 4.312 kB / 330 MB, free: 2.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.09786, allocations: 38.25 kB / 330 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.09788, allocations: 192 / 330 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.09789, allocations: 3.938 kB / 330 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.0979, allocations: 0 / 330 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.09793, allocations: 4 kB / 330.1 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.0983, allocations: 252.9 kB / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.09837, allocations: 26.56 kB / 330.3 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.09841, allocations: 16.86 kB / 330.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.09842, allocations: 4 kB / 330.3 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.09857, allocations: 43.41 kB / 330.4 MB, free: 1.629 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.09859, allocations: 8 kB / 330.4 MB, free: 1.621 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001798/0.09877, allocations: 57.77 kB / 330.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.09882, allocations: 51.41 kB / 330.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.0989, allocations: 109.8 kB / 330.6 MB, free: 1.379 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.09893, allocations: 25.7 kB / 330.6 MB, free: 1.348 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.09898, allocations: 88.08 kB / 330.7 MB, free: 1.258 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.099, allocations: 11.89 kB / 330.7 MB, free: 1.246 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.09904, allocations: 17.72 kB / 330.7 MB, free: 1.223 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09915, allocations: 314.8 kB / 331.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.09918, allocations: 11.98 kB / 331.1 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.09922, allocations: 17.72 kB / 331.1 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.09929, allocations: 33.69 kB / 331.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0993, allocations: 0 / 331.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.147e-05/0.09939, allocations: 65.47 kB / 331.2 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.09941, allocations: 4 kB / 331.2 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.09943, allocations: 12.02 kB / 331.2 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.09945, allocations: 0 / 331.2 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.09951, allocations: 4 kB / 331.2 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.09953, allocations: 4 kB / 331.2 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.09955, allocations: 3.938 kB / 331.2 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.09956, allocations: 0 / 331.2 MB, free: 0.7344 MB / 270.1 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.108e-05/0.09965, allocations: 117.8 kB / 331.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.09967, allocations: 0 / 331.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.0997, allocations: 11.89 kB / 331.3 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.0997, allocations: 4 kB / 331.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.09971, allocations: 0 / 331.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.09972, allocations: 0 / 331.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.09995, allocations: 282.5 kB / 331.6 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.09996, allocations: 4 kB / 331.6 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.09998, allocations: 0 / 331.6 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09999, allocations: 0 / 331.6 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1, allocations: 4 kB / 331.6 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1, allocations: 0 / 331.6 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1, allocations: 7.984 kB / 331.6 MB, free: 248 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1001, allocations: 147.4 kB / 331.8 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1002, allocations: 81.11 kB / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1002, allocations: 384 / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.1003, allocations: 0 / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.1003, allocations: 11.94 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1003, allocations: 4 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.1004, allocations: 83.27 kB / 332 MB, free: 15.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1004, allocations: 4 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1007, allocations: 24 kB / 332 MB, free: 15.86 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004442/0.1011, allocations: 177.4 kB / 332.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1013, allocations: 35.86 kB / 332.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1013, allocations: 0 / 332.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.1013, allocations: 15.94 kB / 332.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1015, allocations: 3.984 kB / 332.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1018, allocations: 139.3 kB / 332.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1021, allocations: 0.6767 MB / 333 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.1021, allocations: 19.48 kB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1021, allocations: 0 / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Templates: time 0.003098/0.1052, allocations: 1.148 MB / 334.2 MB, free: 13.59 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches