Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.00227, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.784/1.784, allocations: 222.9 MB / 247.1 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 358.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 49.44 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002535/0.1065, allocations: 1.326 MB / 409.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.1073, allocations: 354.8 kB / 409.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.1073, allocations: 0 / 409.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.1074, allocations: 0 / 409.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.1074, allocations: 3.938 kB / 409.8 MB, free: 5.129 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.108, allocations: 91.72 kB / 409.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.108, allocations: 27.86 kB / 409.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1081, allocations: 0 / 409.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.1081, allocations: 4 kB / 409.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.1081, allocations: 11.92 kB / 409.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1082, allocations: 4 kB / 409.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1083, allocations: 79.91 kB / 410 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1084, allocations: 4 kB / 410 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1084, allocations: 7.938 kB / 410 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1086, allocations: 91.67 kB / 410.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1086, allocations: 0 / 410.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1086, allocations: 11.94 kB / 410.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1086, allocations: 0 / 410.1 MB, free: 4.801 MB / 334.1 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.0004618/0.1091, allocations: 347.2 kB / 410.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1092, allocations: 8.031 kB / 410.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1092, allocations: 8.891 kB / 410.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1093, allocations: 168.4 kB / 410.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1094, allocations: 384 / 410.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1094, allocations: 4.375 kB / 410.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1095, allocations: 37.64 kB / 410.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1095, allocations: 0 / 410.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1095, allocations: 0 / 410.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1095, allocations: 0 / 410.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.1096, allocations: 15.92 kB / 410.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1099, allocations: 244.8 kB / 410.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.11, allocations: 22.58 kB / 410.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.11, allocations: 12.92 kB / 411 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.11, allocations: 3.984 kB / 411 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1102, allocations: 59.34 kB / 411 MB, free: 3.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1102, allocations: 0 / 411 MB, free: 3.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001831/0.1104, allocations: 61.62 kB / 411.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1104, allocations: 55.41 kB / 411.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.1105, allocations: 105.8 kB / 411.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1106, allocations: 29.7 kB / 411.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.1106, allocations: 80.14 kB / 411.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1107, allocations: 7.953 kB / 411.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1107, allocations: 17.72 kB / 411.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1109, allocations: 322.8 kB / 411.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.1109, allocations: 8 kB / 411.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.1109, allocations: 17.66 kB / 411.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.111, allocations: 41.64 kB / 411.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.111, allocations: 0 / 411.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.527e-05/0.1111, allocations: 53.62 kB / 411.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1111, allocations: 4 kB / 411.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1111, allocations: 0 / 411.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1112, allocations: 4 kB / 411.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.1112, allocations: 8 kB / 411.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1112, allocations: 3.984 kB / 411.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.1113, allocations: 7.953 kB / 411.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1113, allocations: 4.031 kB / 411.8 MB, free: 2.836 MB / 334.1 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 8.639e-05/0.1114, allocations: 121.7 kB / 412 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.1114, allocations: 0 / 412 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.1114, allocations: 7.906 kB / 412 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1114, allocations: 0 / 412 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1114, allocations: 4 kB / 412 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1114, allocations: 0 / 412 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.1117, allocations: 282.5 kB / 412.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1117, allocations: 4 kB / 412.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.1117, allocations: 7.984 kB / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1117, allocations: 0 / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1117, allocations: 0 / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1118, allocations: 0 / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1118, allocations: 0 / 412.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1119, allocations: 151.8 kB / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.112, allocations: 81.39 kB / 412.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.112, allocations: 4 kB / 412.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.112, allocations: 8 kB / 412.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.1121, allocations: 7.922 kB / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1121, allocations: 0 / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.1121, allocations: 87.28 kB / 412.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1121, allocations: 0 / 412.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1124, allocations: 27.86 kB / 412.6 MB, free: 1.949 MB / 334.1 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.0004437/0.1129, allocations: 190.1 kB / 412.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.113, allocations: 19.94 kB / 412.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.113, allocations: 0 / 412.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.113, allocations: 7.984 kB / 412.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1133, allocations: 8 kB / 412.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.1136, allocations: 135.3 kB / 413 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1139, allocations: 0.6844 MB / 413.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.114, allocations: 7.438 kB / 413.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.114, allocations: 0 / 413.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Templates: time 0.003278/0.1172, allocations: 1.169 MB / 414.8 MB, free: 15.7 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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: 7.52806885400787]