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.001403/0.001403, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001473/0.001473, allocations: 181.8 kB / 23.71 MB, free: 4.695 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.478/1.478, allocations: 225.6 MB / 252.5 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.001489/0.001489, allocations: 51.86 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002686/0.2655, allocations: 1.352 MB / 424.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.2663, allocations: 369.5 kB / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.2663, allocations: 0 / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.2664, allocations: 0 / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.2664, allocations: 11.92 kB / 424.8 MB, free: 12.94 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.0005391/0.267, allocations: 91.7 kB / 424.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.2671, allocations: 15.94 kB / 424.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.2671, allocations: 7.984 kB / 424.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.2671, allocations: 7.938 kB / 425 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.2672, allocations: 7.938 kB / 425 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2672, allocations: 0 / 425 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.2674, allocations: 131.7 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.2675, allocations: 4 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2675, allocations: 7.938 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.2677, allocations: 87.55 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.2677, allocations: 8 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2677, allocations: 0 / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2677, allocations: 0 / 425.2 MB, free: 12.58 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.0004463/0.2682, allocations: 271.6 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2682, allocations: 12.03 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2682, allocations: 4.891 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2683, allocations: 106.5 kB / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2684, allocations: 384 / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.2684, allocations: 384 / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.2685, allocations: 45.62 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2685, allocations: 3.938 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2685, allocations: 0 / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2685, allocations: 4 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.2685, allocations: 3.938 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.2689, allocations: 216 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.536e-05/0.269, allocations: 30.56 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.269, allocations: 16.91 kB / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.269, allocations: 0 / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.2692, allocations: 51.34 kB / 425.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2692, allocations: 0 / 425.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002129/0.2694, allocations: 57.64 kB / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2694, allocations: 51.41 kB / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2695, allocations: 109.8 kB / 426.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2695, allocations: 25.7 kB / 426.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.2696, allocations: 84.14 kB / 426.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2696, allocations: 11.94 kB / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.2697, allocations: 17.72 kB / 426.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2698, allocations: 314.8 kB / 426.6 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.2698, allocations: 11.98 kB / 426.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.2699, allocations: 25.66 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.2699, allocations: 25.72 kB / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2699, allocations: 0 / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.27, allocations: 58 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.27, allocations: 8 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2701, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2701, allocations: 3.984 kB / 426.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.2701, allocations: 12 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2701, allocations: 0 / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.2702, allocations: 15.86 kB / 426.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2702, allocations: 4 kB / 426.8 MB, free: 10.82 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.651e-05/0.2703, allocations: 113.8 kB / 426.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.2703, allocations: 4 kB / 426.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.2703, allocations: 7.984 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2703, allocations: 0 / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2703, allocations: 0 / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2703, allocations: 0 / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.2706, allocations: 261.6 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2706, allocations: 0 / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2706, allocations: 0 / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2706, allocations: 0 / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2706, allocations: 8 kB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2706, allocations: 0 / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2706, allocations: 0 / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2707, allocations: 151.7 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.2707, allocations: 4 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2707, allocations: 7.984 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.2708, allocations: 4 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.2708, allocations: 7.938 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2708, allocations: 0 / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.2709, allocations: 83.27 kB / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2709, allocations: 0 / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.2711, allocations: 27.94 kB / 427.4 MB, free: 10.07 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.0004289/0.2716, allocations: 179 kB / 427.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2717, allocations: 23.92 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2717, allocations: 0 / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.2717, allocations: 11.94 kB / 427.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2719, allocations: 9.969 kB / 427.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.2722, allocations: 105.7 kB / 427.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.2725, allocations: 0.6922 MB / 428.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.2725, allocations: 7.984 kB / 428.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.2725, allocations: 7.438 kB / 428.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2725, allocations: 0 / 428.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Templates: time 0.003733/0.2763, allocations: 0.9741 MB / 429.4 MB, free: 8.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/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: 4.496130064129829]