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.001141/0.001141, allocations: 107.9 kB / 18.36 MB, free: 4.586 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.001094/0.001094, allocations: 188.5 kB / 19.3 MB, free: 3.66 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.368/1.368, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001262/0.001263, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002521/0.1076, allocations: 1.335 MB / 377.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.1084, allocations: 353.3 kB / 377.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1084, allocations: 4 kB / 377.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.1085, allocations: 0 / 377.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.1085, allocations: 3.938 kB / 377.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.109, allocations: 79.72 kB / 377.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.1091, allocations: 27.86 kB / 377.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1092, allocations: 4 kB / 377.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.1092, allocations: 3.938 kB / 377.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.1092, allocations: 15.97 kB / 377.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1092, allocations: 0 / 377.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1094, allocations: 79.92 kB / 377.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1094, allocations: 7.922 kB / 377.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1095, allocations: 11.94 kB / 377.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1097, allocations: 91.75 kB / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1097, allocations: 0 / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1097, allocations: 0 / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1097, allocations: 4 kB / 377.8 MB, free: 2.57 MB / 318.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.0003997/0.1101, allocations: 347.4 kB / 378.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1101, allocations: 16.02 kB / 378.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1102, allocations: 0.9375 kB / 378.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1103, allocations: 164.4 kB / 378.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1103, allocations: 384 / 378.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1103, allocations: 384 / 378.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.387e-05/0.1104, allocations: 34.25 kB / 378.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1105, allocations: 4.188 kB / 378.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1105, allocations: 3.938 kB / 378.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1105, allocations: 7.984 kB / 378.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.1105, allocations: 11.88 kB / 378.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.1108, allocations: 240.9 kB / 378.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.1109, allocations: 26.58 kB / 378.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.1109, allocations: 20.84 kB / 378.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.111, allocations: 0 / 378.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.1111, allocations: 55.34 kB / 378.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1111, allocations: 0 / 378.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001814/0.1113, allocations: 53.69 kB / 378.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1113, allocations: 51.41 kB / 378.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.1114, allocations: 105.8 kB / 378.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1114, allocations: 25.7 kB / 378.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1115, allocations: 92.14 kB / 379 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.1115, allocations: 3.906 kB / 379 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.1116, allocations: 21.7 kB / 379 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1117, allocations: 310.8 kB / 379.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.1117, allocations: 8 kB / 379.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.1117, allocations: 25.64 kB / 379.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.1118, allocations: 29.72 kB / 379.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1118, allocations: 384 / 379.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.353e-05/0.1119, allocations: 61.56 kB / 379.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1119, allocations: 11.94 kB / 379.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1119, allocations: 0 / 379.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1119, allocations: 4 kB / 379.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.112, allocations: 11.98 kB / 379.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.112, allocations: 3.984 kB / 379.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.1121, allocations: 3.906 kB / 379.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1121, allocations: 4 kB / 379.5 MB, free: 0.6055 MB / 318.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 7.234e-05/0.1121, allocations: 113.8 kB / 379.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1122, allocations: 11.94 kB / 379.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.1122, allocations: 3.906 kB / 379.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1122, allocations: 0 / 379.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1122, allocations: 0 / 379.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1122, allocations: 0 / 379.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1124, allocations: 290.5 kB / 379.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1124, allocations: 0 / 379.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.1125, allocations: 4 kB / 379.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1125, allocations: 0 / 379.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1125, allocations: 4 kB / 379.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1125, allocations: 0 / 379.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1125, allocations: 0 / 379.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2156/0.3281, allocations: 150 kB / 380.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3282, allocations: 82.14 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3282, allocations: 1.469 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.3283, allocations: 0.6562 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3283, allocations: 2.891 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3283, allocations: 4.344 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.3284, allocations: 85.16 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3284, allocations: 0 / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.3288, allocations: 26.11 kB / 380.3 MB, free: 12.72 MB / 318.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.0003952/0.3292, allocations: 185.2 kB / 380.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.3293, allocations: 28.3 kB / 380.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3294, allocations: 0 / 380.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.3294, allocations: 14.88 kB / 380.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3296, allocations: 1.781 kB / 380.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.3299, allocations: 150.7 kB / 380.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.33, allocations: 0.6765 MB / 381.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.3301, allocations: 12.62 kB / 381.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3301, allocations: 1.125 kB / 381.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Templates: time 0.003239/0.3333, allocations: 1.156 MB / 382.5 MB, free: 11.69 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches