Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.001253/0.001253, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.00135/0.00135, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.361/1.361, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.0988, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002149/0.1009, allocations: 0.899 MB / 418.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.1015, allocations: 259.1 kB / 418.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.1016, allocations: 3.938 kB / 418.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.1016, allocations: 3.938 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.1018, allocations: 15.92 kB / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1022, allocations: 99.72 kB / 419.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1023, allocations: 39.91 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.1024, allocations: 15.94 kB / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.1024, allocations: 19.92 kB / 419.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.1025, allocations: 19.92 kB / 419.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1025, allocations: 4 kB / 419.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.1026, allocations: 43.95 kB / 419.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.1026, allocations: 23.91 kB / 419.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1027, allocations: 31.75 kB / 419.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1028, allocations: 91.56 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1028, allocations: 0 / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1028, allocations: 0 / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1028, allocations: 0 / 419.3 MB, free: 11.07 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.0005043/0.1033, allocations: 403 kB / 419.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1034, allocations: 8.031 kB / 419.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1034, allocations: 34.75 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1035, allocations: 16.78 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1037, allocations: 198.6 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1037, allocations: 8.312 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1037, allocations: 4.375 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.104, allocations: 149.6 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.104, allocations: 3.938 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.104, allocations: 4 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.104, allocations: 0 / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1041, allocations: 27.88 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.1044, allocations: 269.7 kB / 420.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.1045, allocations: 46.5 kB / 420.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.1045, allocations: 16.86 kB / 420.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/0.1052, allocations: 0.5857 MB / 421.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1052, allocations: 34.56 kB / 421.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1052, allocations: 0 / 421.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002048/0.1054, allocations: 93.64 kB / 421.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1055, allocations: 51.41 kB / 421.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1056, allocations: 149.8 kB / 421.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1057, allocations: 29.64 kB / 421.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.1057, allocations: 92.14 kB / 421.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1057, allocations: 7.953 kB / 421.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1058, allocations: 25.7 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1059, allocations: 322.8 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.1059, allocations: 15.98 kB / 421.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.106, allocations: 65.98 kB / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.1061, allocations: 81.88 kB / 422 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1061, allocations: 4 kB / 422 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001606/0.1063, allocations: 105.5 kB / 422.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1063, allocations: 8 kB / 422.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1063, allocations: 0 / 422.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1063, allocations: 4.188 kB / 422.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.1064, allocations: 19.92 kB / 422.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1064, allocations: 11.88 kB / 422.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.1064, allocations: 8.172 kB / 422.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1064, allocations: 11.94 kB / 422.2 MB, free: 7.785 MB / 350.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.0001158/0.1066, allocations: 133.8 kB / 422.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1067, allocations: 77.58 kB / 422.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1068, allocations: 78.39 kB / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1068, allocations: 0 / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1068, allocations: 0 / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1068, allocations: 0 / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.107, allocations: 181.6 kB / 422.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.107, allocations: 4 kB / 422.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.107, allocations: 4 kB / 422.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.107, allocations: 0 / 422.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.107, allocations: 7.984 kB / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.107, allocations: 0 / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.107, allocations: 0 / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.1072, allocations: 105.2 kB / 422.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.1072, allocations: 97 kB / 422.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1073, allocations: 11.98 kB / 422.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.1073, allocations: 4 kB / 422.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.1073, allocations: 3.938 kB / 422.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1073, allocations: 4 kB / 422.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.1074, allocations: 117.2 kB / 423 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 0 / 423 MB, free: 6.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1076, allocations: 20 kB / 423 MB, free: 6.844 MB / 350.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.0005619/0.1082, allocations: 0.6787 MB / 423.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1083, allocations: 51.92 kB / 423.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1083, allocations: 0 / 423.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1083, allocations: 0 / 423.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1087, allocations: 81.56 kB / 423.9 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1101, allocations: 1.473 MB / 425.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1105, allocations: 0.7039 MB / 426 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.1105, allocations: 8.672 kB / 426 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1106, allocations: 19.42 kB / 426.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1106, allocations: 0 / 426.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1348, allocations: 2.622 MB / 428.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/8.781, allocations: 3.984 kB / 428.7 MB, free: 1.141 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.175717050209641]