Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.0009404/0.0009404, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001109/0.001109, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9348/0.9348, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.645e-05, allocations: 2.281 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.001758/0.001785, allocations: 0.902 MB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004878/0.002273, allocations: 267.1 kB / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.002349, allocations: 3.938 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.002396, allocations: 3.938 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.002713, allocations: 19.92 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.002905, allocations: 55.77 kB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003018, allocations: 43.84 kB / 325.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.003135, allocations: 12.17 kB / 325.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.003194, allocations: 31.91 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.003272, allocations: 11.92 kB / 325.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.003294, allocations: 4 kB / 325.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.003377, allocations: 27.91 kB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.003442, allocations: 19.92 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.003469, allocations: 11.94 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.003658, allocations: 87.67 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003662, allocations: 8 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.003664, allocations: 0 / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.00367, allocations: 0 / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004803/0.00415, allocations: 306 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.004191, allocations: 8.031 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.004221, allocations: 30.75 kB / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.004252, allocations: 16.84 kB / 326.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.004478, allocations: 137.6 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.004488, allocations: 4.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.004497, allocations: 8.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.004737, allocations: 133.5 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.004745, allocations: 192 / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.004754, allocations: 4.375 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.004762, allocations: 7.938 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.004802, allocations: 23.86 kB / 326.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.005068, allocations: 236.8 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.309e-05/0.005161, allocations: 46.56 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.005188, allocations: 28.89 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.005219, allocations: 0 / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.005242, allocations: 38.5 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005243, allocations: 0 / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001678/0.00541, allocations: 73.64 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.005456, allocations: 63.39 kB / 327.2 MB, free: 13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.005552, allocations: 145.6 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005562, allocations: 25.7 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.005601, allocations: 96.12 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.005614, allocations: 3.938 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.005645, allocations: 21.72 kB / 327.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.005723, allocations: 318.8 kB / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.005744, allocations: 8 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.00577, allocations: 33.67 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.005803, allocations: 21.72 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005805, allocations: 4 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.688e-05/0.005882, allocations: 69.52 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005894, allocations: 4 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.0059, allocations: 4.062 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.005915, allocations: 7.984 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.005995, allocations: 4 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.006001, allocations: 4 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.006018, allocations: 4.188 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.006027, allocations: 0 / 328 MB, free: 12.19 MB / 298.7 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 ($CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.358e-05/0.00612, allocations: 129.8 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.006191, allocations: 73.47 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.006311, allocations: 78.44 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006315, allocations: 4 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006319, allocations: 4 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006323, allocations: 0 / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.638e-05/0.0064, allocations: 144.7 kB / 328.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.006406, allocations: 4 kB / 328.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.006446, allocations: 4 kB / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006448, allocations: 0 / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.006454, allocations: 0 / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006456, allocations: 3.938 kB / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006457, allocations: 0 / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.006542, allocations: 101 kB / 328.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.006579, allocations: 23.88 kB / 328.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.006595, allocations: 7.984 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.006613, allocations: 0 / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-06/0.006615, allocations: 0 / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.006627, allocations: 4 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.006678, allocations: 113.8 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006678, allocations: 0 / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000144/0.006822, allocations: 16 kB / 328.7 MB, free: 11.41 MB / 298.7 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 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * 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.0005479/0.00737, allocations: 0.6916 MB / 329.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.007462, allocations: 27.98 kB / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007464, allocations: 0 / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.007464, allocations: 4 kB / 329.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.007734, allocations: 61.7 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.008561, allocations: 1.311 MB / 330.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.008617, allocations: 79.59 kB / 330.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.008635, allocations: 4.125 kB / 330.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.008676, allocations: 24.5 kB / 330.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008677, allocations: 3.938 kB / 330.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02505, allocations: 2.941 MB / 333.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.322, allocations: 14.73 kB / 333.8 MB, free: 6.262 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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: 9.070897191762924]