Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001883/0.001883, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002665/0.002665, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0 / 325.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.225e-05/4.553e-05, allocations: 10.22 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002953/0.002999, allocations: 1.364 MB / 326.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.003948, allocations: 353.2 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.00399, allocations: 1.062 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.004019, allocations: 0 / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.004092, allocations: 11.88 kB / 326.8 MB, free: 15.39 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006175/0.004709, allocations: 92.81 kB / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.004795, allocations: 21.56 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.004846, allocations: 2 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.004891, allocations: 10.72 kB / 326.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.685e-05/0.004918, allocations: 6.906 kB / 326.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004934, allocations: 2.125 kB / 326.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.005227, allocations: 116.8 kB / 327 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.005246, allocations: 6.016 kB / 327 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.005275, allocations: 6.641 kB / 327 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.005539, allocations: 110.9 kB / 327.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005542, allocations: 0 / 327.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005544, allocations: 2.109 kB / 327.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.005556, allocations: 0 / 327.2 MB, free: 15.24 MB / 302.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.0004964/0.006052, allocations: 269.8 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.006099, allocations: 9.406 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.006136, allocations: 2.125 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006268, allocations: 105 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.006281, allocations: 1.875 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.006299, allocations: 2.531 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006411, allocations: 37.23 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.00642, allocations: 4.188 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.00643, allocations: 384 / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.006434, allocations: 1.469 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.006464, allocations: 15.22 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.006829, allocations: 190.2 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.006904, allocations: 29.36 kB / 327.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.006934, allocations: 10.81 kB / 327.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006942, allocations: 5.094 kB / 327.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.007058, allocations: 56.11 kB / 327.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.007059, allocations: 4 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002224/0.007282, allocations: 59.25 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.007333, allocations: 53.14 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.00744, allocations: 105.3 kB / 328.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.00746, allocations: 26.89 kB / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.007521, allocations: 86.12 kB / 328.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.007539, allocations: 5.141 kB / 328.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.007583, allocations: 20.2 kB / 328.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.007726, allocations: 313 kB / 328.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.007752, allocations: 10.41 kB / 328.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.007794, allocations: 29.94 kB / 328.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.00785, allocations: 29.75 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007851, allocations: 0 / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.007956, allocations: 62 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00797, allocations: 5.281 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.007979, allocations: 3.938 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.007994, allocations: 1.969 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.008063, allocations: 7.281 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.008068, allocations: 1.219 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.008086, allocations: 1.094 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.008095, allocations: 5.734 kB / 328.7 MB, free: 13.71 MB / 302.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 9.489e-05/0.00819, allocations: 109.9 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.008204, allocations: 6.719 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.008232, allocations: 8.734 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008234, allocations: 0.9375 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.008239, allocations: 1.094 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008243, allocations: 4.688 kB / 328.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.008484, allocations: 231.5 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008486, allocations: 0 / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.008499, allocations: 3.422 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.008505, allocations: 7.938 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.008513, allocations: 1.062 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.008516, allocations: 1.656 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008517, allocations: 0 / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.008667, allocations: 153.2 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.008682, allocations: 10 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.008697, allocations: 5.922 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.008739, allocations: 0 / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.008775, allocations: 2.188 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.008792, allocations: 2.828 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.008851, allocations: 93.19 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008851, allocations: 1.188 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.009165, allocations: 24.08 kB / 329.4 MB, free: 13.09 MB / 302.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.0005945/0.009759, allocations: 183 kB / 329.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.009902, allocations: 23.47 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.009904, allocations: 0 / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.009938, allocations: 6.547 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01015, allocations: 2.359 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.01057, allocations: 117.8 kB / 329.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.01066, allocations: 61.55 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.0107, allocations: 6.188 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.01073, allocations: 11.28 kB / 329.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.01073, allocations: 8 kB / 329.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Templates: time 0.006021/0.01675, allocations: 0.971 MB / 330.7 MB, free: 12.58 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.426489796489477]