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.001047/0.001047, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00126/0.00126, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9247/0.9247, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.054e-06/2.054e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.053e-05, allocations: 6.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002081/0.002122, allocations: 1.376 MB / 252.5 MB, free: 6.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.002807, allocations: 355.7 kB / 252.8 MB, free: 6.062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.002848, allocations: 0 / 252.8 MB, free: 6.062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.002876, allocations: 4 kB / 252.8 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.002942, allocations: 7.875 kB / 252.8 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.00347, allocations: 99.56 kB / 252.9 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.908e-05/0.003539, allocations: 15.94 kB / 253 MB, free: 5.938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.003577, allocations: 4 kB / 253 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.00362, allocations: 11.98 kB / 253 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.003643, allocations: 7.984 kB / 253 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.003656, allocations: 0 / 253 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.003858, allocations: 115.8 kB / 253.1 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.003873, allocations: 11.92 kB / 253.1 MB, free: 5.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.003895, allocations: 4 kB / 253.1 MB, free: 5.785 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.00408, allocations: 99.62 kB / 253.2 MB, free: 5.688 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004082, allocations: 0 / 253.2 MB, free: 5.688 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004084, allocations: 0 / 253.2 MB, free: 5.688 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.004088, allocations: 0 / 253.2 MB, free: 5.688 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.0003518/0.00444, allocations: 372.5 kB / 253.6 MB, free: 5.285 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.004479, allocations: 11.98 kB / 253.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.004521, allocations: 4.938 kB / 253.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.004608, allocations: 116.5 kB / 253.7 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.004623, allocations: 8.359 kB / 253.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004632, allocations: 384 / 253.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.004706, allocations: 34.27 kB / 253.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.004713, allocations: 192 / 253.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.004722, allocations: 4.359 kB / 253.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.00473, allocations: 384 / 253.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.004745, allocations: 11.92 kB / 253.8 MB, free: 5.066 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.005062, allocations: 247.7 kB / 254 MB, free: 4.789 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.005112, allocations: 35 kB / 254 MB, free: 4.742 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.00513, allocations: 11.75 kB / 254 MB, free: 4.727 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.005135, allocations: 0 / 254 MB, free: 4.727 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/0.005227, allocations: 65.05 kB / 254.1 MB, free: 4.648 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005228, allocations: 0 / 254.1 MB, free: 4.648 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.005395, allocations: 57.56 kB / 254.2 MB, free: 4.586 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.005427, allocations: 51.41 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.005505, allocations: 165.9 kB / 254.4 MB, free: 4.344 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005513, allocations: 25.7 kB / 254.4 MB, free: 4.312 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.005555, allocations: 130.9 kB / 254.5 MB, free: 4.18 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.005571, allocations: 7.953 kB / 254.5 MB, free: 4.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.005601, allocations: 23.36 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005708, allocations: 0.4884 MB / 255 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.005731, allocations: 16.95 kB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.005757, allocations: 31.36 kB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.005794, allocations: 31.31 kB / 255.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005796, allocations: 0 / 255.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.788e-05/0.005863, allocations: 57.64 kB / 255.2 MB, free: 3.48 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.005878, allocations: 8 kB / 255.2 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005884, allocations: 3.938 kB / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005895, allocations: 0 / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.005945, allocations: 11.92 kB / 255.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.00595, allocations: 4 kB / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.005962, allocations: 4.031 kB / 255.2 MB, free: 3.449 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005967, allocations: 0 / 255.2 MB, free: 3.449 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 7.098e-05/0.006038, allocations: 156.6 kB / 255.4 MB, free: 3.285 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.006047, allocations: 8 kB / 255.4 MB, free: 3.277 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.006072, allocations: 7.938 kB / 255.4 MB, free: 3.266 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006073, allocations: 3.938 kB / 255.4 MB, free: 3.262 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006077, allocations: 3.984 kB / 255.4 MB, free: 3.258 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00608, allocations: 0 / 255.4 MB, free: 3.258 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.006247, allocations: 285.5 kB / 255.7 MB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006248, allocations: 0 / 255.7 MB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-06/0.006258, allocations: 7.984 kB / 255.7 MB, free: 2.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.006261, allocations: 4.219 kB / 255.7 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.006267, allocations: 0 / 255.7 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006269, allocations: 4 kB / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00627, allocations: 0 / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.006358, allocations: 199.9 kB / 255.9 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.006365, allocations: 3.938 kB / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.006374, allocations: 0 / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.006398, allocations: 0 / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.00642, allocations: 7.984 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.006431, allocations: 3.938 kB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.006469, allocations: 135.3 kB / 256 MB, free: 2.559 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006469, allocations: 0 / 256 MB, free: 2.559 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.006665, allocations: 27.92 kB / 256.1 MB, free: 2.531 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.0003765/0.007041, allocations: 193.8 kB / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.007135, allocations: 23.67 kB / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007137, allocations: 0 / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.007158, allocations: 15.62 kB / 256.3 MB, free: 2.316 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.007304, allocations: 11.94 kB / 256.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.007554, allocations: 117.4 kB / 256.4 MB, free: 2.164 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.007589, allocations: 55.34 kB / 256.5 MB, free: 2.09 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.007615, allocations: 11.92 kB / 256.5 MB, free: 2.078 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.007634, allocations: 12.5 kB / 256.5 MB, free: 2.066 MB / 234.7 MB Notification: Performance of SimCode: time 8.81e-07/0.007635, allocations: 4.062 kB / 256.5 MB, free: 2.062 MB / 234.7 MB Notification: Performance of Templates: time 0.002813/0.01045, allocations: 0.9863 MB / 257.5 MB, free: 1.078 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.7037684391252697]