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.002581/0.002581, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002253/0.002253, allocations: 165.1 kB / 25.03 MB, free: 8.418 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.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.902 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 3.186e-06/3.186e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.074e-05/4.392e-05, allocations: 6.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003075/0.003119, allocations: 1.345 MB / 251.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.004033, allocations: 351.7 kB / 252.1 MB, free: 6.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.004067, allocations: 0 / 252.1 MB, free: 6.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.00409, allocations: 0 / 252.1 MB, free: 6.121 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.004166, allocations: 11.88 kB / 252.1 MB, free: 6.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.004744, allocations: 103.6 kB / 252.2 MB, free: 6.008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.00482, allocations: 19.94 kB / 252.2 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.004859, allocations: 3.984 kB / 252.2 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.004898, allocations: 4 kB / 252.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.695e-05/0.004925, allocations: 11.98 kB / 252.2 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.00494, allocations: 0 / 252.2 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.005217, allocations: 115.8 kB / 252.3 MB, free: 5.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.005238, allocations: 3.938 kB / 252.3 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.005271, allocations: 11.98 kB / 252.3 MB, free: 5.84 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.005518, allocations: 103.6 kB / 252.4 MB, free: 5.738 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005522, allocations: 4 kB / 252.4 MB, free: 5.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005523, allocations: 0 / 252.4 MB, free: 5.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.005529, allocations: 0 / 252.4 MB, free: 5.734 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.0005371/0.006066, allocations: 368.2 kB / 252.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.00611, allocations: 11.98 kB / 252.8 MB, free: 5.324 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.006155, allocations: 0.9375 kB / 252.8 MB, free: 5.324 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.006294, allocations: 116.5 kB / 252.9 MB, free: 5.184 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.00631, allocations: 4.375 kB / 252.9 MB, free: 5.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.006323, allocations: 4.375 kB / 252.9 MB, free: 5.176 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006435, allocations: 34.2 kB / 253 MB, free: 5.137 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006444, allocations: 4.188 kB / 253 MB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006455, allocations: 4.359 kB / 253 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.006459, allocations: 384 / 253 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.006489, allocations: 11.92 kB / 253 MB, free: 5.117 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.006878, allocations: 247.8 kB / 253.2 MB, free: 4.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.375e-05/0.006961, allocations: 38.94 kB / 253.3 MB, free: 4.789 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.007001, allocations: 19.73 kB / 253.3 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.007009, allocations: 0 / 253.3 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.007123, allocations: 57.06 kB / 253.3 MB, free: 4.695 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.007123, allocations: 4 kB / 253.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.007339, allocations: 57.62 kB / 253.4 MB, free: 4.629 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.007393, allocations: 55.34 kB / 253.5 MB, free: 4.562 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.007538, allocations: 169.9 kB / 253.6 MB, free: 4.379 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.007557, allocations: 25.7 kB / 253.7 MB, free: 4.348 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.007648, allocations: 134.9 kB / 253.8 MB, free: 4.211 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.007667, allocations: 7.938 kB / 253.8 MB, free: 4.203 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.007713, allocations: 27.36 kB / 253.8 MB, free: 4.168 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.007994, allocations: 496.1 kB / 254.3 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.008019, allocations: 8 kB / 254.3 MB, free: 3.664 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.008069, allocations: 35.36 kB / 254.3 MB, free: 3.621 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.008128, allocations: 27.38 kB / 254.4 MB, free: 3.586 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00813, allocations: 0 / 254.4 MB, free: 3.586 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.008252, allocations: 65.95 kB / 254.4 MB, free: 3.516 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.008268, allocations: 4 kB / 254.4 MB, free: 3.512 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.008275, allocations: 3.938 kB / 254.4 MB, free: 3.508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.008293, allocations: 4 kB / 254.5 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.008362, allocations: 11.98 kB / 254.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.008371, allocations: 3.938 kB / 254.5 MB, free: 3.488 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.008389, allocations: 4 kB / 254.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008397, allocations: 4.031 kB / 254.5 MB, free: 3.48 MB / 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.0001288/0.008525, allocations: 160.6 kB / 254.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.008535, allocations: 0 / 254.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.008571, allocations: 11.94 kB / 254.6 MB, free: 3.297 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.008572, allocations: 0 / 254.6 MB, free: 3.297 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.008579, allocations: 3.984 kB / 254.6 MB, free: 3.293 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008582, allocations: 3.938 kB / 254.6 MB, free: 3.289 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.008868, allocations: 285.5 kB / 254.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008869, allocations: 0 / 254.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.00889, allocations: 7.922 kB / 254.9 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.008894, allocations: 11.94 kB / 254.9 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.0089, allocations: 288 / 254.9 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008901, allocations: 0 / 254.9 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008902, allocations: 0 / 254.9 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.009114, allocations: 199.9 kB / 255.1 MB, free: 2.734 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.009135, allocations: 7.938 kB / 255.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.009148, allocations: 0 / 255.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.009187, allocations: 0 / 255.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.009221, allocations: 7.984 kB / 255.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.009233, allocations: 4 kB / 255.2 MB, free: 2.715 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.009319, allocations: 123.2 kB / 255.3 MB, free: 2.594 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009319, allocations: 4 kB / 255.3 MB, free: 2.59 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.009592, allocations: 31.92 kB / 255.3 MB, free: 2.559 MB / 234.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.0006555/0.01025, allocations: 183.6 kB / 255.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01038, allocations: 39.66 kB / 255.5 MB, free: 2.355 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01038, allocations: 0 / 255.5 MB, free: 2.355 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.01042, allocations: 15.69 kB / 255.6 MB, free: 2.336 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01062, allocations: 6.766 kB / 255.6 MB, free: 2.332 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01095, allocations: 125.3 kB / 255.7 MB, free: 2.184 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.01102, allocations: 59.34 kB / 255.7 MB, free: 2.105 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.01106, allocations: 7.984 kB / 255.7 MB, free: 2.098 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.01109, allocations: 16.5 kB / 255.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01109, allocations: 3.938 kB / 255.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of Templates: time 0.00422/0.01531, allocations: 0.9918 MB / 256.8 MB, free: 1.082 MB / 234.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 240] 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.561316314036958]