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.001133/0.001133, allocations: 95.31 kB / 16.93 MB, free: 6.445 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.001184/0.001184, allocations: 184.6 kB / 17.83 MB, free: 6.012 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.716/1.716, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004312/0.0004313, allocations: 15.44 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 47.57 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001943/0.1084, allocations: 1.069 MB / 329.4 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.1093, allocations: 345.8 kB / 329.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.1094, allocations: 0 / 329.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.1094, allocations: 3.938 kB / 329.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.1095, allocations: 0 / 329.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.1101, allocations: 75.72 kB / 329.8 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.1102, allocations: 11.98 kB / 329.8 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.1102, allocations: 4 kB / 329.8 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.1103, allocations: 3.938 kB / 329.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.1103, allocations: 7.984 kB / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1103, allocations: 0 / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1105, allocations: 63.88 kB / 329.9 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1105, allocations: 0 / 329.9 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1106, allocations: 29.7 kB / 329.9 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1108, allocations: 63.83 kB / 330 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1108, allocations: 4 kB / 330 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1108, allocations: 0 / 330 MB, free: 2.422 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1108, allocations: 0 / 330 MB, free: 2.422 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.0004734/0.1113, allocations: 339.6 kB / 330.3 MB, free: 2.043 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1113, allocations: 8.031 kB / 330.3 MB, free: 2.035 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1114, allocations: 0 / 330.3 MB, free: 2.035 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1115, allocations: 171 kB / 330.5 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1116, allocations: 0 / 330.5 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1116, allocations: 0 / 330.5 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1117, allocations: 45.64 kB / 330.5 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1117, allocations: 0 / 330.5 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1117, allocations: 4 kB / 330.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1117, allocations: 0 / 330.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.1118, allocations: 0 / 330.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1122, allocations: 248.9 kB / 330.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.1122, allocations: 38.39 kB / 330.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1123, allocations: 4 kB / 330.8 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1124, allocations: 51.47 kB / 330.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1124, allocations: 0 / 330.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000203/0.1127, allocations: 57.62 kB / 330.9 MB, free: 1.305 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1127, allocations: 51.41 kB / 331 MB, free: 1.242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1128, allocations: 105.8 kB / 331.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1129, allocations: 25.7 kB / 331.1 MB, free: 1.098 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.1129, allocations: 84.14 kB / 331.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1129, allocations: 11.91 kB / 331.2 MB, free: 1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.1129, allocations: 0 / 331.2 MB, free: 1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1131, allocations: 318.8 kB / 331.5 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.1131, allocations: 8 kB / 331.5 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.1132, allocations: 17.97 kB / 331.5 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.1132, allocations: 11.98 kB / 331.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1132, allocations: 4 kB / 331.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001103/0.1133, allocations: 61.58 kB / 331.6 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1134, allocations: 4 kB / 331.6 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1134, allocations: 0 / 331.6 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1134, allocations: 4.125 kB / 331.6 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1135, allocations: 8 kB / 331.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1135, allocations: 0 / 331.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.1135, allocations: 7.906 kB / 331.6 MB, free: 0.543 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1135, allocations: 0 / 331.6 MB, free: 0.543 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,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.0001147/0.1137, allocations: 125.8 kB / 331.8 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1137, allocations: 3.953 kB / 331.8 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.1137, allocations: 3.906 kB / 331.8 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1137, allocations: 240 / 331.8 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1137, allocations: 4 kB / 331.8 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1137, allocations: 0 / 331.8 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.114, allocations: 290.5 kB / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.114, allocations: 0 / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.1141, allocations: 7.984 kB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1141, allocations: 4 kB / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.1141, allocations: 0 / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1141, allocations: 0 / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1141, allocations: 0 / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1142, allocations: 143.5 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1143, allocations: 84.97 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1143, allocations: 8 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.1144, allocations: 0 / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1144, allocations: 7.984 kB / 332.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1144, allocations: 0 / 332.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.1145, allocations: 83.28 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1145, allocations: 0 / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1148, allocations: 27.98 kB / 332.4 MB, free: 15.66 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 (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.0004341/0.1152, allocations: 187.7 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1154, allocations: 23.94 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1154, allocations: 0 / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.1154, allocations: 11.98 kB / 332.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1155, allocations: 3.938 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1158, allocations: 124.8 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1161, allocations: 0.6809 MB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.1162, allocations: 4 kB / 333.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.1162, allocations: 11.44 kB / 333.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1162, allocations: 0 / 333.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of Templates: time 0.003423/0.1196, allocations: 0.9171 MB / 334.4 MB, free: 13.65 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/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