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.001268/0.001268, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001426/0.001426, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002492/0.2457, allocations: 1.351 MB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.2464, allocations: 354.8 kB / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.2465, allocations: 0 / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.2465, allocations: 3.984 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.2466, allocations: 3.938 kB / 432.8 MB, free: 4.914 MB / 334.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.0004567/0.247, allocations: 95.7 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.2471, allocations: 15.94 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2471, allocations: 3.984 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.2471, allocations: 11.94 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.2472, allocations: 8 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.2472, allocations: 0 / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.2474, allocations: 127.8 kB / 433 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2475, allocations: 3.938 kB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2475, allocations: 4 kB / 433.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.2477, allocations: 93.38 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2477, allocations: 0 / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2477, allocations: 0 / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2477, allocations: 3.938 kB / 433.1 MB, free: 4.559 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.0004364/0.2481, allocations: 270.2 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2482, allocations: 12.03 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.2482, allocations: 34.75 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2483, allocations: 0.9375 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2484, allocations: 118.5 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2484, allocations: 4.375 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2484, allocations: 4.375 kB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.2485, allocations: 30.27 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2485, allocations: 7.922 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.2486, allocations: 0 / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2486, allocations: 0 / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.2486, allocations: 11.94 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.249, allocations: 220.1 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.69e-05/0.2491, allocations: 26.52 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.2491, allocations: 16.91 kB / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2491, allocations: 0 / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2493, allocations: 59.34 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2493, allocations: 3.938 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001908/0.2495, allocations: 53.62 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2495, allocations: 51.41 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.2496, allocations: 113.8 kB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2496, allocations: 25.7 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.2497, allocations: 88.14 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2497, allocations: 11.88 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2497, allocations: 17.72 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2499, allocations: 314.8 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.2499, allocations: 7.984 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.2499, allocations: 25.66 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.25, allocations: 25.66 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.25, allocations: 4 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001068/0.2501, allocations: 57.62 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2501, allocations: 8.031 kB / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2501, allocations: 0 / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2501, allocations: 4 kB / 434.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.2502, allocations: 7.984 kB / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2502, allocations: 0 / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.2502, allocations: 4 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.2502, allocations: 0 / 434.8 MB, free: 2.742 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.059e-05/0.2503, allocations: 117.8 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.2503, allocations: 3.953 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.2504, allocations: 4.234 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2504, allocations: 11.98 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2504, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2504, allocations: 3.984 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.2507, allocations: 265.6 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2507, allocations: 0 / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.2507, allocations: 3.938 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2507, allocations: 0 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2507, allocations: 0 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2507, allocations: 4.375 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2507, allocations: 0 / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2508, allocations: 151.4 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.2508, allocations: 11.94 kB / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2509, allocations: 4 kB / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.2509, allocations: 4 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.2509, allocations: 0 / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2509, allocations: 3.938 kB / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.251, allocations: 91.2 kB / 435.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.251, allocations: 4 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.2513, allocations: 19.94 kB / 435.4 MB, free: 1.969 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.0009149/0.2522, allocations: 0.7701 MB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2523, allocations: 16 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2523, allocations: 0 / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.2523, allocations: 11.98 kB / 436.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2525, allocations: 4 kB / 436.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2538, allocations: 1.247 MB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.2538, allocations: 59.34 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.2539, allocations: 4 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.2539, allocations: 15.42 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2539, allocations: 0 / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.2825, allocations: 2.485 MB / 440.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.63, allocations: 7.312 kB / 440.1 MB, free: 13.4 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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: 12.91804242800572]