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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9831/0.9831, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.238e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002961/0.002993, allocations: 1.335 MB / 301 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.003792, allocations: 348.9 kB / 301.4 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.003828, allocations: 8 kB / 301.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.003861, allocations: 3.938 kB / 301.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.003932, allocations: 3.938 kB / 301.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.004585, allocations: 91.58 kB / 301.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.00467, allocations: 19.92 kB / 301.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.004716, allocations: 0 / 301.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.00477, allocations: 11.98 kB / 301.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.004802, allocations: 7.984 kB / 301.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004818, allocations: 0 / 301.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.005085, allocations: 111.7 kB / 301.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.005106, allocations: 15.94 kB / 301.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.005137, allocations: 7.969 kB / 301.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.005391, allocations: 95.73 kB / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.005395, allocations: 0 / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.005396, allocations: 0 / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005402, allocations: 4 kB / 301.8 MB, free: 4.848 MB / 282.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.0004277/0.005829, allocations: 274.1 kB / 302 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.005876, allocations: 11.98 kB / 302 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.005921, allocations: 8.875 kB / 302 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.006016, allocations: 105.8 kB / 302.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.006033, allocations: 4.375 kB / 302.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.006044, allocations: 4.375 kB / 302.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.006141, allocations: 34.2 kB / 302.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.006149, allocations: 192 / 302.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006161, allocations: 4.375 kB / 302.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006166, allocations: 384 / 302.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.006193, allocations: 11.92 kB / 302.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.006532, allocations: 192.5 kB / 302.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/0.006602, allocations: 26.58 kB / 302.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.006624, allocations: 8.922 kB / 302.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.006637, allocations: 15.91 kB / 302.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.006785, allocations: 51.41 kB / 302.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.006787, allocations: 0 / 302.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000184/0.006971, allocations: 53.62 kB / 302.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.007016, allocations: 55.41 kB / 302.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.007103, allocations: 109.8 kB / 302.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.007115, allocations: 29.64 kB / 302.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.007158, allocations: 84.14 kB / 302.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.00718, allocations: 11.89 kB / 302.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.00722, allocations: 17.7 kB / 302.8 MB, free: 3.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.007323, allocations: 322.8 kB / 303.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.007355, allocations: 4 kB / 303.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.00739, allocations: 21.7 kB / 303.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.007446, allocations: 29.72 kB / 303.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007449, allocations: 0 / 303.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.007549, allocations: 57.58 kB / 303.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007565, allocations: 4 kB / 303.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.007575, allocations: 7.938 kB / 303.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.007588, allocations: 0 / 303.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.007658, allocations: 7.984 kB / 303.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.007664, allocations: 4.031 kB / 303.3 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.007684, allocations: 8 kB / 303.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.007691, allocations: 0 / 303.3 MB, free: 3.109 MB / 282.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,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.94e-05/0.00777, allocations: 113.8 kB / 303.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.00778, allocations: 0 / 303.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.007809, allocations: 15.94 kB / 303.4 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007812, allocations: 3.938 kB / 303.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.007817, allocations: 3.938 kB / 303.4 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007821, allocations: 0 / 303.4 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.008043, allocations: 230.3 kB / 303.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008045, allocations: 4 kB / 303.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.008063, allocations: 0 / 303.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.008069, allocations: 7.922 kB / 303.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008075, allocations: 0 / 303.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.008079, allocations: 4 kB / 303.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.00808, allocations: 0 / 303.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008193, allocations: 147.4 kB / 303.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008202, allocations: 4.266 kB / 303.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008218, allocations: 4 kB / 303.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.008268, allocations: 4.375 kB / 303.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.008295, allocations: 3.984 kB / 303.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.008311, allocations: 7.984 kB / 303.8 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.008353, allocations: 83.28 kB / 303.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008353, allocations: 0 / 303.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.00866, allocations: 31.92 kB / 304 MB, free: 2.391 MB / 282.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 (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.0004169/0.009077, allocations: 189.2 kB / 304.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.009194, allocations: 19.94 kB / 304.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.009198, allocations: 4 kB / 304.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.00923, allocations: 11.98 kB / 304.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.009441, allocations: 0 / 304.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.009771, allocations: 134.6 kB / 304.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.009832, allocations: 63.34 kB / 304.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.009859, allocations: 16.69 kB / 304.4 MB, free: 1.906 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00986, allocations: 8 kB / 304.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of Templates: time 0.003208/0.01307, allocations: 1.179 MB / 305.6 MB, free: 0.7188 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.664459059946239]