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.001513/0.001513, allocations: 96.3 kB / 21.73 MB, free: 2.824 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.001504/0.001504, allocations: 162.3 kB / 25.02 MB, free: 9.309 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 1.636/1.636, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 250.3 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.694e-05, allocations: 5.406 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003021/0.003058, allocations: 1.351 MB / 251.7 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.003968, allocations: 352.4 kB / 252 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.004002, allocations: 0 / 252 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.004033, allocations: 3.938 kB / 252.1 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.004102, allocations: 3.938 kB / 252.1 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.004739, allocations: 87.59 kB / 252.1 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.004823, allocations: 27.91 kB / 252.2 MB, free: 2.109 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.00486, allocations: 4 kB / 252.2 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.004904, allocations: 7.984 kB / 252.2 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.00493, allocations: 8 kB / 252.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004944, allocations: 0 / 252.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.005213, allocations: 127.6 kB / 252.3 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.005226, allocations: 0 / 252.3 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.00526, allocations: 8 kB / 252.3 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.005498, allocations: 103.7 kB / 252.4 MB, free: 1.855 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005501, allocations: 0 / 252.4 MB, free: 1.855 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005502, allocations: 0 / 252.4 MB, free: 1.855 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005506, allocations: 0 / 252.4 MB, free: 1.855 MB / 234.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.0004611/0.005967, allocations: 270.2 kB / 252.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.00601, allocations: 15.98 kB / 252.7 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.006061, allocations: 4.875 kB / 252.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.006185, allocations: 109.7 kB / 252.8 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006201, allocations: 384 / 252.8 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006213, allocations: 4.375 kB / 252.8 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.006312, allocations: 34.25 kB / 252.9 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.006325, allocations: 4.188 kB / 252.9 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006335, allocations: 384 / 252.9 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.006339, allocations: 384 / 252.9 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.006372, allocations: 11.92 kB / 252.9 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.006742, allocations: 200.5 kB / 253.1 MB, free: 1.121 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.006814, allocations: 26.56 kB / 253.1 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.006846, allocations: 12.92 kB / 253.1 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.006857, allocations: 0 / 253.1 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.006993, allocations: 47.41 kB / 253.1 MB, free: 1.012 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.006994, allocations: 0 / 253.1 MB, free: 1.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002287/0.007223, allocations: 69.55 kB / 253.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.007281, allocations: 51.41 kB / 253.3 MB, free: 0.875 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.007405, allocations: 105.8 kB / 253.4 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.007426, allocations: 29.7 kB / 253.4 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.007489, allocations: 84.14 kB / 253.5 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.00751, allocations: 11.94 kB / 253.5 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.00755, allocations: 17.72 kB / 253.5 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.00772, allocations: 314.8 kB / 253.8 MB, free: 296 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.007746, allocations: 8 kB / 253.8 MB, free: 288 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.007783, allocations: 21.72 kB / 253.8 MB, free: 260 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.00784, allocations: 30.02 kB / 253.9 MB, free: 224 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007841, allocations: 0 / 253.9 MB, free: 224 kB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.007953, allocations: 69.58 kB / 253.9 MB, free: 148 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.007968, allocations: 6.656 kB / 254 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.007979, allocations: 7.938 kB / 254 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.008, allocations: 4 kB / 254 MB, free: 132 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.008064, allocations: 4 kB / 254 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008071, allocations: 0 / 254 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.00809, allocations: 4 kB / 254 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.008097, allocations: 0 / 254 MB, free: 124 kB / 234.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 0.0001399/0.008236, allocations: 117.9 kB / 254.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.008247, allocations: 0 / 254.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.008279, allocations: 19.91 kB / 254.1 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.00828, allocations: 0 / 254.1 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.008286, allocations: 0 / 254.1 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008288, allocations: 0 / 254.1 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.00854, allocations: 238.2 kB / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008541, allocations: 0 / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.008552, allocations: 0 / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.008556, allocations: 3.938 kB / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008564, allocations: 0 / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008565, allocations: 4 kB / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008566, allocations: 0 / 254.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.00872, allocations: 155.8 kB / 254.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.008729, allocations: 7.875 kB / 254.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.008744, allocations: 4 kB / 254.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.008785, allocations: 0 / 254.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.008819, allocations: 4 kB / 254.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.008832, allocations: 0 / 254.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.386e-05/0.008896, allocations: 87.27 kB / 254.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008896, allocations: 0 / 254.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000299/0.009195, allocations: 23.94 kB / 254.6 MB, free: 15.4 MB / 250.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.0005389/0.009734, allocations: 191.3 kB / 254.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009842, allocations: 24.02 kB / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009844, allocations: 4 kB / 254.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.009873, allocations: 11.94 kB / 254.8 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01008, allocations: 8.016 kB / 254.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01042, allocations: 115.7 kB / 255 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01049, allocations: 63.28 kB / 255 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.01052, allocations: 7.984 kB / 255 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.01055, allocations: 12.5 kB / 255 MB, free: 14.95 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01055, allocations: 0 / 255 MB, free: 14.95 MB / 250.7 MB Notification: Performance of Templates: time 0.004071/0.01462, allocations: 0.9917 MB / 256 MB, free: 13.96 MB / 250.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.5447396900272]