Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001873, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002734/0.002734, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 64.42 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1246, allocations: 50.52 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.003034/0.1277, allocations: 0.8837 MB / 358.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.1285, allocations: 259.2 kB / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1287, allocations: 3.938 kB / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.1287, allocations: 7.938 kB / 358.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1292, allocations: 27.84 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1295, allocations: 47.77 kB / 358.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1297, allocations: 47.86 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1299, allocations: 24.08 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.1299, allocations: 15.94 kB / 358.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.13, allocations: 19.86 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1301, allocations: 4 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1302, allocations: 27.98 kB / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.1303, allocations: 15.92 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.1303, allocations: 27.8 kB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1306, allocations: 83.7 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1307, allocations: 0 / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.741e-06/0.1307, allocations: 3.984 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1307, allocations: 0 / 359.1 MB, free: 12.49 MB / 302.1 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.0006223/0.1313, allocations: 383.3 kB / 359.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1314, allocations: 8.031 kB / 359.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1314, allocations: 46.67 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1315, allocations: 8.844 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1317, allocations: 183.2 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1318, allocations: 8.375 kB / 359.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1318, allocations: 12.31 kB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1321, allocations: 145.2 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1322, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1322, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1322, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.1322, allocations: 27.98 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1326, allocations: 281.5 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1327, allocations: 50.56 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.1328, allocations: 16.92 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1328, allocations: 0 / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1328, allocations: 38.56 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1329, allocations: 0 / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000223/0.1331, allocations: 81.56 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1331, allocations: 59.41 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1333, allocations: 140.2 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1333, allocations: 29.69 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.1334, allocations: 92.12 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1334, allocations: 7.906 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1335, allocations: 25.7 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1336, allocations: 322.8 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.1336, allocations: 16.17 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.1337, allocations: 49.14 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.1337, allocations: 69.03 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1338, allocations: 0 / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001598/0.1339, allocations: 101.5 kB / 361.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1339, allocations: 4 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.134, allocations: 4 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.134, allocations: 4.031 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1341, allocations: 15.98 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1341, allocations: 4 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.1342, allocations: 0 / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1342, allocations: 4 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (8): * Single equations (assignments): 8 * 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.0002488/0.1344, allocations: 141 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.1346, allocations: 73.59 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1348, allocations: 82.23 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1348, allocations: 0 / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1348, allocations: 4 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1348, allocations: 0 / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.135, allocations: 173.6 kB / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.135, allocations: 0 / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.135, allocations: 8 kB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.135, allocations: 4 kB / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1351, allocations: 0 / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1351, allocations: 4 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1351, allocations: 0 / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1352, allocations: 101 kB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.1353, allocations: 93 kB / 361.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1354, allocations: 4 kB / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.1354, allocations: 0 / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.1354, allocations: 0 / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1354, allocations: 4 kB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1356, allocations: 117.8 kB / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1356, allocations: 3.938 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1358, allocations: 20 kB / 362.1 MB, free: 9.105 MB / 302.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 (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.0008171/0.1366, allocations: 0.6773 MB / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1368, allocations: 43.92 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1368, allocations: 0 / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.1368, allocations: 0 / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1372, allocations: 61.66 kB / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1383, allocations: 0.5535 MB / 363.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.1387, allocations: 0.7042 MB / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.1388, allocations: 7.984 kB / 364.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.1389, allocations: 19.42 kB / 364.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1389, allocations: 0 / 364.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1625, allocations: 2.178 MB / 366.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.996, allocations: 16.36 kB / 366.3 MB, free: 4.84 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k