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.0009871/0.0009871, 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.0009803/0.0009803, allocations: 168.1 kB / 25.7 MB, free: 8.434 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.062/1.062, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.122e-06/1.122e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.465e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002079/0.002093, allocations: 1.431 MB / 253 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.002665, allocations: 367.5 kB / 253.4 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.002692, allocations: 0 / 253.4 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.002716, allocations: 0 / 253.4 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.002771, allocations: 3.938 kB / 253.4 MB, free: 5.43 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.003197, allocations: 87.58 kB / 253.4 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.003278, allocations: 19.92 kB / 253.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.003321, allocations: 11.92 kB / 253.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.003368, allocations: 8 kB / 253.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.003389, allocations: 7.984 kB / 253.5 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003402, allocations: 4 kB / 253.5 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.003635, allocations: 123.7 kB / 253.6 MB, free: 5.172 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.003648, allocations: 4 kB / 253.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.003664, allocations: 7.938 kB / 253.6 MB, free: 5.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003806, allocations: 99.67 kB / 253.7 MB, free: 5.062 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003808, allocations: 0 / 253.7 MB, free: 5.062 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003809, allocations: 0 / 253.7 MB, free: 5.062 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003812, allocations: 0 / 253.7 MB, free: 5.062 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.0002905/0.004103, allocations: 244.8 kB / 254 MB, free: 4.797 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004136, allocations: 11.98 kB / 254 MB, free: 4.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.00416, allocations: 0.9375 kB / 254 MB, free: 4.785 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.004256, allocations: 121.7 kB / 254.1 MB, free: 4.641 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004269, allocations: 384 / 254.1 MB, free: 4.641 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.004278, allocations: 4.375 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.004353, allocations: 34.2 kB / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004362, allocations: 192 / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004369, allocations: 384 / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.004379, allocations: 384 / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.004393, allocations: 11.92 kB / 254.1 MB, free: 4.586 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.004609, allocations: 136.3 kB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.004661, allocations: 30.52 kB / 254.3 MB, free: 4.398 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.004674, allocations: 12.92 kB / 254.3 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.00468, allocations: 0 / 254.3 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.004757, allocations: 55.39 kB / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.004758, allocations: 0 / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 9.33e-05/0.004851, allocations: 45.62 kB / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.004882, allocations: 55.34 kB / 254.5 MB, free: 4.199 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.004941, allocations: 110.7 kB / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.00495, allocations: 29.64 kB / 254.6 MB, free: 4.043 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.004974, allocations: 80.14 kB / 254.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.004991, allocations: 11.94 kB / 254.7 MB, free: 3.949 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.005016, allocations: 25.7 kB / 254.7 MB, free: 3.918 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.005086, allocations: 310.8 kB / 255 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.0051, allocations: 20.69 kB / 255 MB, free: 3.582 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.005114, allocations: 13.72 kB / 255.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.005139, allocations: 21.7 kB / 255.1 MB, free: 3.535 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005141, allocations: 3.938 kB / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.66e-05/0.005187, allocations: 49.69 kB / 255.1 MB, free: 3.477 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.005197, allocations: 4 kB / 255.1 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005201, allocations: 0 / 255.1 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005213, allocations: 4.031 kB / 255.1 MB, free: 3.469 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.00525, allocations: 15.88 kB / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.005252, allocations: 0 / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.005264, allocations: 7.953 kB / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.005272, allocations: 4.359 kB / 255.2 MB, free: 3.441 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 5.303e-05/0.005325, allocations: 113.8 kB / 255.3 MB, free: 3.32 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-06/0.00533, allocations: 0 / 255.3 MB, free: 3.32 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.00535, allocations: 8 kB / 255.3 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005351, allocations: 0 / 255.3 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.005356, allocations: 11.94 kB / 255.3 MB, free: 3.301 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.005358, allocations: 4 kB / 255.3 MB, free: 3.297 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.005473, allocations: 178.9 kB / 255.5 MB, free: 3.098 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005473, allocations: 3.938 kB / 255.5 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.005479, allocations: 0 / 255.5 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.00548, allocations: 0 / 255.5 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.005484, allocations: 4 kB / 255.5 MB, free: 3.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005486, allocations: 3.938 kB / 255.5 MB, free: 3.086 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005487, allocations: 0 / 255.5 MB, free: 3.086 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.00554, allocations: 135.8 kB / 255.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.005545, allocations: 4 kB / 255.6 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.005552, allocations: 7.922 kB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.005576, allocations: 7.984 kB / 255.6 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.005592, allocations: 7.984 kB / 255.7 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.0056, allocations: 0 / 255.7 MB, free: 2.91 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.107e-05/0.005611, allocations: 8.859 kB / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005611, allocations: 0 / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.005758, allocations: 31.92 kB / 255.7 MB, free: 2.867 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.000324/0.006082, allocations: 202.2 kB / 255.9 MB, free: 2.699 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.509e-05/0.006138, allocations: 20.84 kB / 255.9 MB, free: 2.676 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006139, allocations: 0 / 255.9 MB, free: 2.676 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.006154, allocations: 8.859 kB / 255.9 MB, free: 2.664 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.006256, allocations: 11.98 kB / 255.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.006428, allocations: 111.7 kB / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.006456, allocations: 55.42 kB / 256.1 MB, free: 2.445 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.006478, allocations: 7.984 kB / 256.1 MB, free: 2.438 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.006504, allocations: 51.38 kB / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006505, allocations: 0 / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of Templates: time 0.00231/0.008814, allocations: 1.11 MB / 257.3 MB, free: 1.277 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 -s gbode -gbm=radauIIA3 -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.6653945511206985]