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.0011/0.0011, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009688/0.0009688, allocations: 168.6 kB / 25.7 MB, free: 8.441 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.9409/0.9409, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.353e-06/1.353e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.42e-05, allocations: 6.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002186/0.00221, allocations: 1.376 MB / 252.9 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.003001, allocations: 367.5 kB / 253.3 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.003033, allocations: 0 / 253.3 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.003058, allocations: 4 kB / 253.3 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.003136, allocations: 3.938 kB / 253.3 MB, free: 5.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.003677, allocations: 91.62 kB / 253.4 MB, free: 5.422 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.003744, allocations: 23.86 kB / 253.4 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.003781, allocations: 8 kB / 253.4 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.00382, allocations: 11.98 kB / 253.4 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.003842, allocations: 3.938 kB / 253.4 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.003855, allocations: 4 kB / 253.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.004058, allocations: 115.7 kB / 253.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.00407, allocations: 0 / 253.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.004086, allocations: 8 kB / 253.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004253, allocations: 107.6 kB / 253.6 MB, free: 5.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004254, allocations: 0 / 253.6 MB, free: 5.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004255, allocations: 0 / 253.6 MB, free: 5.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.004258, allocations: 0 / 253.6 MB, free: 5.145 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.0002543/0.004512, allocations: 244.9 kB / 253.9 MB, free: 4.879 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.004543, allocations: 11.98 kB / 253.9 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.004564, allocations: 4.922 kB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.00464, allocations: 113.7 kB / 254 MB, free: 4.727 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004651, allocations: 4.375 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.00466, allocations: 4.375 kB / 254 MB, free: 4.719 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.537e-05/0.004726, allocations: 42.19 kB / 254 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004732, allocations: 192 / 254 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.004738, allocations: 384 / 254 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.004741, allocations: 384 / 254 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-06/0.004748, allocations: 3.938 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.00493, allocations: 144.3 kB / 254.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.004975, allocations: 18.61 kB / 254.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.004989, allocations: 12.86 kB / 254.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-06/0.004993, allocations: 0 / 254.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/0.005066, allocations: 55.39 kB / 254.3 MB, free: 4.402 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.005067, allocations: 0 / 254.3 MB, free: 4.402 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001028/0.00517, allocations: 45.67 kB / 254.3 MB, free: 4.352 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.005211, allocations: 63.28 kB / 254.4 MB, free: 4.273 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.00528, allocations: 106.7 kB / 254.5 MB, free: 4.156 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005291, allocations: 25.7 kB / 254.5 MB, free: 4.125 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.00532, allocations: 84.12 kB / 254.6 MB, free: 4.039 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005337, allocations: 7.953 kB / 254.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.005369, allocations: 21.7 kB / 254.6 MB, free: 4.004 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.005459, allocations: 314.8 kB / 254.9 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.005473, allocations: 16.7 kB / 254.9 MB, free: 3.668 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.005491, allocations: 17.72 kB / 255 MB, free: 3.645 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.005525, allocations: 25.69 kB / 255 MB, free: 3.613 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.005528, allocations: 0 / 255 MB, free: 3.613 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.102e-05/0.005579, allocations: 49.62 kB / 255 MB, free: 3.559 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.005597, allocations: 4 kB / 255 MB, free: 3.555 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.005602, allocations: 0 / 255 MB, free: 3.555 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.005612, allocations: 0 / 255 MB, free: 3.555 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.00565, allocations: 24.09 kB / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-06/0.005652, allocations: 0 / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.005665, allocations: 3.984 kB / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.005674, allocations: 11.94 kB / 255.1 MB, free: 3.516 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 6.358e-05/0.005737, allocations: 105.8 kB / 255.2 MB, free: 3.402 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.005748, allocations: 7.984 kB / 255.2 MB, free: 3.395 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.005769, allocations: 8 kB / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.00577, allocations: 0 / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005772, allocations: 3.938 kB / 255.2 MB, free: 3.379 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.005778, allocations: 4 kB / 255.2 MB, free: 3.375 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.005913, allocations: 178.9 kB / 255.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.005915, allocations: 384 / 255.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.00592, allocations: 0 / 255.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005921, allocations: 7.938 kB / 255.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005925, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005926, allocations: 3.938 kB / 255.4 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005927, allocations: 4 kB / 255.4 MB, free: 3.156 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.00599, allocations: 131.5 kB / 255.5 MB, free: 3.012 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-06/0.005996, allocations: 7.984 kB / 255.5 MB, free: 3.004 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-06/0.006002, allocations: 0 / 255.5 MB, free: 3.004 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.006026, allocations: 7.938 kB / 255.5 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.006044, allocations: 0 / 255.5 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.006053, allocations: 4 kB / 255.6 MB, free: 2.992 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.43e-05/0.006067, allocations: 16.84 kB / 255.6 MB, free: 2.973 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006067, allocations: 0 / 255.6 MB, free: 2.973 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.006246, allocations: 19.94 kB / 255.6 MB, free: 2.953 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.0003883/0.006634, allocations: 211.1 kB / 255.8 MB, free: 2.785 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.006702, allocations: 20.98 kB / 255.8 MB, free: 2.762 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.006705, allocations: 0 / 255.8 MB, free: 2.762 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.006721, allocations: 12.84 kB / 255.8 MB, free: 2.746 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.68e-05/0.006818, allocations: 4 kB / 255.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.007034, allocations: 119.6 kB / 255.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.007066, allocations: 51.36 kB / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.00709, allocations: 11.98 kB / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.00712, allocations: 51.38 kB / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of SimCode: time 9.41e-07/0.007121, allocations: 4.062 kB / 256.1 MB, free: 2.465 MB / 234.7 MB Notification: Performance of Templates: time 0.002859/0.00998, allocations: 1.106 MB / 257.2 MB, free: 1.359 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","",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.57374859880656]