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.0008152/0.0008152, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001897, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007413/0.0007413, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.00167, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9783/0.9783, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1571/1.135, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.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.943e-06/1.943e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.255e-05, allocations: 6.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003259/0.003292, allocations: 1.423 MB / 223.3 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.004054, allocations: 363.5 kB / 223.6 MB, free: 14.37 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.004093, allocations: 0 / 223.6 MB, free: 14.37 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.004119, allocations: 3.938 kB / 223.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.004164, allocations: 7.938 kB / 223.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.004639, allocations: 87.58 kB / 223.7 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.004711, allocations: 11.94 kB / 223.7 MB, free: 14.26 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.004752, allocations: 4 kB / 223.7 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.00482, allocations: 15.98 kB / 223.7 MB, free: 14.24 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.004857, allocations: 11.92 kB / 223.8 MB, free: 14.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.004878, allocations: 0 / 223.8 MB, free: 14.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.005188, allocations: 119.7 kB / 223.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.005205, allocations: 4 kB / 223.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.005225, allocations: 4 kB / 223.9 MB, free: 14.1 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005446, allocations: 83.72 kB / 224 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.005463, allocations: 0 / 224 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005464, allocations: 0 / 224 MB, free: 14.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.005482, allocations: 0 / 224 MB, free: 14.02 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.0004366/0.005919, allocations: 264.4 kB / 224.2 MB, free: 13.73 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.005965, allocations: 12.03 kB / 224.2 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.005998, allocations: 0.9375 kB / 224.2 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.006113, allocations: 109.8 kB / 224.3 MB, free: 13.59 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.006134, allocations: 4.375 kB / 224.3 MB, free: 13.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.006144, allocations: 384 / 224.3 MB, free: 13.59 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.006228, allocations: 38.23 kB / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006236, allocations: 192 / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.006243, allocations: 384 / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.006248, allocations: 384 / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.006266, allocations: 11.88 kB / 224.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.006533, allocations: 144.3 kB / 224.5 MB, free: 13.38 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.006598, allocations: 22.61 kB / 224.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.006615, allocations: 4.859 kB / 224.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.006623, allocations: 4.062 kB / 224.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.006738, allocations: 55.33 kB / 224.6 MB, free: 13.27 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.00674, allocations: 0 / 224.6 MB, free: 13.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.00687, allocations: 41.69 kB / 224.7 MB, free: 13.22 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.006919, allocations: 59.33 kB / 224.7 MB, free: 13.15 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.006998, allocations: 110.7 kB / 224.8 MB, free: 13.03 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.007012, allocations: 25.7 kB / 224.8 MB, free: 13 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.00705, allocations: 88.12 kB / 224.9 MB, free: 12.91 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.007071, allocations: 11.89 kB / 224.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.007111, allocations: 21.7 kB / 225 MB, free: 12.87 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.007226, allocations: 310.8 kB / 225.3 MB, free: 12.55 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.007259, allocations: 20.69 kB / 225.3 MB, free: 12.53 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.007287, allocations: 17.66 kB / 225.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.06e-05/0.007337, allocations: 33.62 kB / 225.3 MB, free: 12.47 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.007341, allocations: 0 / 225.3 MB, free: 12.47 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.506e-05/0.007436, allocations: 49.62 kB / 225.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.007454, allocations: 8.031 kB / 225.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.007462, allocations: 0 / 225.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.007478, allocations: 4 kB / 225.4 MB, free: 12.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.007562, allocations: 11.92 kB / 225.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007569, allocations: 4 kB / 225.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.007592, allocations: 3.953 kB / 225.4 MB, free: 12.38 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.007599, allocations: 0 / 225.4 MB, free: 12.38 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.seed,globalSeed.id_impure,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 8.893e-05/0.007688, allocations: 109.8 kB / 225.5 MB, free: 12.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.007698, allocations: 0 / 225.5 MB, free: 12.27 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.00773, allocations: 12 kB / 225.5 MB, free: 12.26 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007733, allocations: 4 kB / 225.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.007739, allocations: 3.938 kB / 225.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.007745, allocations: 3.984 kB / 225.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.008002, allocations: 183 kB / 225.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.008005, allocations: 0 / 225.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.008035, allocations: 4 kB / 225.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.008047, allocations: 48 / 225.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.008053, allocations: 3.984 kB / 225.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.008064, allocations: 3.938 kB / 225.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.008067, allocations: 0 / 225.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/0.008081, allocations: 7.984 kB / 225.7 MB, free: 12.02 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.008218, allocations: 139.5 kB / 225.9 MB, free: 11.87 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.00823, allocations: 384 / 225.9 MB, free: 11.87 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.008278, allocations: 7.938 kB / 225.9 MB, free: 11.86 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.008301, allocations: 4 kB / 225.9 MB, free: 11.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.008315, allocations: 0 / 225.9 MB, free: 11.86 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.006e-05/0.008335, allocations: 12.84 kB / 225.9 MB, free: 11.84 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008335, allocations: 0 / 225.9 MB, free: 11.84 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.008636, allocations: 31.88 kB / 225.9 MB, free: 11.81 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.0006556/0.009292, allocations: 208 kB / 226.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.009376, allocations: 20.8 kB / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.00938, allocations: 0 / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.009401, allocations: 12.84 kB / 226.2 MB, free: 11.6 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.009551, allocations: 14.88 kB / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.01004, allocations: 111.6 kB / 226.3 MB, free: 11.45 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.01008, allocations: 55.36 kB / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.01012, allocations: 7.984 kB / 226.4 MB, free: 11.37 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.01016, allocations: 55.38 kB / 226.4 MB, free: 11.32 MB / 234.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01016, allocations: 0 / 226.4 MB, free: 11.32 MB / 234.7 MB Notification: Performance of Templates: time 0.003902/0.01406, allocations: 1.125 MB / 227.5 MB, free: 10.19 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.516751889139414]