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.001516/0.001516, allocations: 108.6 kB / 21.18 MB, free: 0.7812 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.001386/0.001386, allocations: 189.9 kB / 24.47 MB, free: 4.203 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.36/1.36, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.001498/0.001498, allocations: 43.94 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 52.2 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002713/0.2476, allocations: 1.345 MB / 425.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.2484, allocations: 365.4 kB / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.2484, allocations: 0 / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.2484, allocations: 0 / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.2485, allocations: 7.938 kB / 425.6 MB, free: 12.97 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.0005138/0.249, allocations: 91.7 kB / 425.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.2491, allocations: 15.98 kB / 425.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.2491, allocations: 4 kB / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.2491, allocations: 11.88 kB / 425.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.2492, allocations: 4 kB / 425.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2492, allocations: 7.938 kB / 425.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.2494, allocations: 127.8 kB / 425.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2494, allocations: 0 / 425.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.2495, allocations: 15.92 kB / 425.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2497, allocations: 83.61 kB / 425.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2497, allocations: 0 / 425.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2497, allocations: 0 / 425.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2497, allocations: 3.938 kB / 425.9 MB, free: 12.62 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.0004006/0.2501, allocations: 267.6 kB / 426.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2501, allocations: 12.03 kB / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.2502, allocations: 8.891 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2503, allocations: 122.5 kB / 426.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2503, allocations: 384 / 426.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.2503, allocations: 384 / 426.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.2504, allocations: 33.64 kB / 426.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2504, allocations: 0 / 426.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2504, allocations: 7.938 kB / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2504, allocations: 0 / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.2504, allocations: 7.984 kB / 426.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.2508, allocations: 219.9 kB / 426.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.2508, allocations: 26.58 kB / 426.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.2508, allocations: 8.922 kB / 426.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.2508, allocations: 0 / 426.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.251, allocations: 51.41 kB / 426.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.251, allocations: 4 kB / 426.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001735/0.2512, allocations: 65.56 kB / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2512, allocations: 51.41 kB / 426.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.2513, allocations: 105.8 kB / 426.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2513, allocations: 25.7 kB / 426.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.2514, allocations: 84.14 kB / 427 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.2514, allocations: 7.953 kB / 427 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.2514, allocations: 17.72 kB / 427.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2515, allocations: 322.8 kB / 427.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.2516, allocations: 8.25 kB / 427.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.2516, allocations: 21.72 kB / 427.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.2517, allocations: 33.64 kB / 427.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2517, allocations: 0 / 427.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.015e-05/0.2518, allocations: 53.62 kB / 427.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2518, allocations: 8 kB / 427.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2518, allocations: 4.031 kB / 427.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2518, allocations: 0 / 427.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.2519, allocations: 12 kB / 427.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2519, allocations: 0 / 427.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.2519, allocations: 3.953 kB / 427.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2519, allocations: 7.938 kB / 427.5 MB, free: 10.86 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 9.38e-05/0.252, allocations: 113.8 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.252, allocations: 4 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.252, allocations: 12 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.252, allocations: 0 / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.252, allocations: 3.938 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.252, allocations: 240 / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2523, allocations: 265.6 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2523, allocations: 0 / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.2523, allocations: 3.984 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2523, allocations: 4 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2523, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2523, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2523, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2524, allocations: 151.5 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.2525, allocations: 3.953 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2525, allocations: 3.938 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.2525, allocations: 0 / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.2525, allocations: 11.92 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2525, allocations: 0 / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.2526, allocations: 87.41 kB / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2526, allocations: 4 kB / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2529, allocations: 31.92 kB / 428.2 MB, free: 10.09 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.0004161/0.2533, allocations: 181 kB / 428.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.787e-05/0.2534, allocations: 20 kB / 428.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2534, allocations: 0 / 428.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.2534, allocations: 11.92 kB / 428.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.2536, allocations: 11.94 kB / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.2539, allocations: 131.4 kB / 428.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2542, allocations: 0.6883 MB / 429.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.2542, allocations: 7.438 kB / 429.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2542, allocations: 4.062 kB / 429.3 MB, free: 9 MB / 334.1 MB Notification: Performance of Templates: time 0.003166/0.2574, allocations: 1.159 MB / 430.4 MB, free: 7.84 MB / 334.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 6.868631909135729]