Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.001297/0.001297, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001296/0.001296, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.372/1.372, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09585, allocations: 53.32 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002116/0.09797, allocations: 0.8905 MB / 427.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.09853, allocations: 251.1 kB / 427.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.0986, allocations: 7.938 kB / 427.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.09864, allocations: 7.922 kB / 427.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.09876, allocations: 7.938 kB / 427.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.09914, allocations: 103.6 kB / 427.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.09925, allocations: 39.86 kB / 427.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.09934, allocations: 15.98 kB / 427.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.09937, allocations: 15.94 kB / 427.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.09944, allocations: 23.86 kB / 427.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.09945, allocations: 8 kB / 427.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.09955, allocations: 43.94 kB / 427.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.0996, allocations: 19.92 kB / 427.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.09964, allocations: 27.81 kB / 427.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.09981, allocations: 99.55 kB / 427.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.09982, allocations: 0 / 427.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09982, allocations: 0 / 427.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.09982, allocations: 0 / 427.9 MB, free: 3.266 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005082/0.1003, allocations: 387 kB / 428.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1004, allocations: 16.02 kB / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1004, allocations: 38.75 kB / 428.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1004, allocations: 8.891 kB / 428.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1007, allocations: 204.1 kB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1007, allocations: 384 / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1007, allocations: 8.312 kB / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.101, allocations: 157.5 kB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.101, allocations: 3.938 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.101, allocations: 0 / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.101, allocations: 0 / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.101, allocations: 23.92 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.1013, allocations: 277.7 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.1014, allocations: 46.5 kB / 429 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.1015, allocations: 24.89 kB / 429 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.1021, allocations: 0.5817 MB / 429.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1021, allocations: 34.56 kB / 429.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1021, allocations: 0 / 429.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001951/0.1023, allocations: 89.69 kB / 429.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1023, allocations: 59.34 kB / 429.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1025, allocations: 148.1 kB / 429.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1025, allocations: 25.7 kB / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1025, allocations: 92.14 kB / 430.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1026, allocations: 7.938 kB / 430.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1026, allocations: 29.72 kB / 430.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1027, allocations: 326.8 kB / 430.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.1028, allocations: 15.98 kB / 430.4 MB, free: 340 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.1028, allocations: 62 kB / 430.5 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.1029, allocations: 85.81 kB / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1029, allocations: 0 / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.103, allocations: 113.5 kB / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1031, allocations: 8 kB / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1031, allocations: 0 / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1031, allocations: 4 kB / 430.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.1032, allocations: 15.94 kB / 430.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1032, allocations: 4.047 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.1032, allocations: 8.141 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1032, allocations: 11.88 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001015/0.1033, allocations: 133.9 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.1034, allocations: 73.58 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.1036, allocations: 86.38 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1036, allocations: 0 / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1036, allocations: 0 / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1036, allocations: 4 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1037, allocations: 177.5 kB / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1037, allocations: 0 / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.1037, allocations: 4 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1037, allocations: 8 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1037, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1037, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1037, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1039, allocations: 112.9 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.1039, allocations: 97.05 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.104, allocations: 0 / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.104, allocations: 0 / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-06/0.104, allocations: 4 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.104, allocations: 8 kB / 431.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.1041, allocations: 119.2 kB / 431.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1041, allocations: 0 / 431.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1043, allocations: 16 kB / 431.6 MB, free: 15.04 MB / 366.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0005261/0.1048, allocations: 0.6787 MB / 432.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1049, allocations: 51.95 kB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1049, allocations: 4 kB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1049, allocations: 0 / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1053, allocations: 88.33 kB / 432.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1067, allocations: 1.471 MB / 433.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.107, allocations: 0.6963 MB / 434.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.107, allocations: 8.656 kB / 434.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.107, allocations: 23.38 kB / 434.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.107, allocations: 0 / 434.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1305, allocations: 2.611 MB / 437.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.841, allocations: 13.55 kB / 437.2 MB, free: 9.332 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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: 10.200448310002685]