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.001309/0.001309, 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.001366/0.001366, allocations: 184.4 kB / 23.72 MB, free: 4.699 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.365/1.365, 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 51.92 kB / 370.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002777/0.2701, allocations: 1.334 MB / 424 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.2709, allocations: 373.4 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.2709, allocations: 0 / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2709, allocations: 3.938 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.271, allocations: 4 kB / 424.3 MB, free: 12.88 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.0005898/0.2716, allocations: 87.72 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.2717, allocations: 19.92 kB / 424.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.2717, allocations: 7.984 kB / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.2718, allocations: 7.938 kB / 424.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.804e-05/0.2718, allocations: 11.94 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2718, allocations: 0 / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.2721, allocations: 127.8 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2721, allocations: 3.984 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.2721, allocations: 11.94 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.2723, allocations: 83.61 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2724, allocations: 0 / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2724, allocations: 0 / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2724, allocations: 0 / 424.7 MB, free: 12.53 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.0004379/0.2728, allocations: 274.7 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2728, allocations: 12.03 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.2729, allocations: 38.69 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.2729, allocations: 0.9375 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2731, allocations: 114.5 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2731, allocations: 384 / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2731, allocations: 12.06 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2732, allocations: 41.62 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2732, allocations: 0 / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2732, allocations: 0 / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2732, allocations: 4 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.2732, allocations: 4 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.2736, allocations: 227.9 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.2737, allocations: 26.52 kB / 425.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.2737, allocations: 8.922 kB / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.2737, allocations: 0 / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2739, allocations: 59.39 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2739, allocations: 3.938 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001922/0.2741, allocations: 57.62 kB / 425.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2741, allocations: 55.41 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.2742, allocations: 101.8 kB / 425.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2742, allocations: 29.7 kB / 425.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.2743, allocations: 84.14 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.2743, allocations: 11.89 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.2743, allocations: 17.72 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2745, allocations: 322.8 kB / 426.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.2745, allocations: 8 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.2745, allocations: 13.72 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.918e-05/0.2746, allocations: 37.64 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2746, allocations: 4 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.701e-05/0.2747, allocations: 53.64 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2747, allocations: 4 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2747, allocations: 0 / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2747, allocations: 4 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.2748, allocations: 12.31 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2748, allocations: 0 / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.2748, allocations: 7.938 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2748, allocations: 7.984 kB / 426.3 MB, free: 10.7 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.784e-05/0.2749, allocations: 117.8 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.2749, allocations: 240 / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.275, allocations: 8 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.275, allocations: 3.984 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.275, allocations: 4 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.275, allocations: 0 / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2752, allocations: 261.5 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2752, allocations: 0 / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.2753, allocations: 4 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2753, allocations: 0 / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2753, allocations: 4 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2753, allocations: 0 / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.2753, allocations: 7.938 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.2754, allocations: 139.5 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.2754, allocations: 4 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2754, allocations: 3.984 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.2755, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2755, allocations: 7.875 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2755, allocations: 8 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.2755, allocations: 83.28 kB / 427 MB, free: 9.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2755, allocations: 0 / 427 MB, free: 9.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.2758, allocations: 31.92 kB / 427 MB, free: 9.941 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.0007919/0.2766, allocations: 0.7734 MB / 427.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.2767, allocations: 27.86 kB / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2767, allocations: 0 / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.2767, allocations: 7.984 kB / 427.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2769, allocations: 8 kB / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2783, allocations: 1.219 MB / 429 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2786, allocations: 0.6844 MB / 429.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.2786, allocations: 4 kB / 429.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.2786, allocations: 11.44 kB / 429.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2786, allocations: 3.938 kB / 429.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.3118, allocations: 2.069 MB / 431.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.48, allocations: 6.641 kB / 431.8 MB, free: 5.16 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] 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: 13.786219541914761]