Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 106.9 kB / 16.92 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 191.3 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 46.8 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 49.45 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.003585/0.137, allocations: 0.8719 MB / 351 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.1377, allocations: 267.1 kB / 351.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1379, allocations: 4 kB / 351.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.042e-05/0.138, allocations: 7.938 kB / 351.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.1384, allocations: 31.83 kB / 351.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1387, allocations: 47.83 kB / 351.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1388, allocations: 43.86 kB / 351.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.139, allocations: 16.17 kB / 351.5 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.1391, allocations: 11.94 kB / 351.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1392, allocations: 31.84 kB / 351.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1392, allocations: 4 kB / 351.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1394, allocations: 23.98 kB / 351.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.1395, allocations: 15.92 kB / 351.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.1396, allocations: 27.81 kB / 351.6 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1399, allocations: 79.64 kB / 351.6 MB, free: 2.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1399, allocations: 0 / 351.6 MB, free: 2.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1399, allocations: 0 / 351.6 MB, free: 2.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1399, allocations: 11.92 kB / 351.7 MB, free: 2.824 MB / 286.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.0008756/0.1408, allocations: 378 kB / 352 MB, free: 2.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.678e-05/0.1409, allocations: 12.03 kB / 352 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.141, allocations: 42.73 kB / 352.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.141, allocations: 12.75 kB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1414, allocations: 188.3 kB / 352.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1414, allocations: 4.312 kB / 352.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1414, allocations: 12.38 kB / 352.3 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.1419, allocations: 141.3 kB / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1419, allocations: 4 kB / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1419, allocations: 0 / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.142, allocations: 4 kB / 352.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.142, allocations: 23.92 kB / 352.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1425, allocations: 277.6 kB / 352.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1427, allocations: 50.56 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.1428, allocations: 24.86 kB / 352.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.1428, allocations: 4 kB / 352.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1429, allocations: 30.56 kB / 352.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1429, allocations: 0 / 352.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002799/0.1431, allocations: 81.62 kB / 352.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.1432, allocations: 55.41 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1434, allocations: 141.8 kB / 353.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1435, allocations: 33.69 kB / 353.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1435, allocations: 92.14 kB / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1436, allocations: 3.906 kB / 353.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.1437, allocations: 25.7 kB / 353.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1438, allocations: 318.8 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.1439, allocations: 19.92 kB / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.144, allocations: 57.14 kB / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.1441, allocations: 57.09 kB / 353.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1441, allocations: 4 kB / 353.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001746/0.1443, allocations: 89.45 kB / 353.8 MB, free: 412 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1443, allocations: 8 kB / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1443, allocations: 3.938 kB / 353.8 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1443, allocations: 4 kB / 353.8 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1445, allocations: 19.92 kB / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1445, allocations: 3.938 kB / 353.8 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1446, allocations: 4.188 kB / 353.8 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1446, allocations: 8 kB / 353.8 MB, free: 360 kB / 286.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.0002576/0.1449, allocations: 132.8 kB / 354 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.145, allocations: 65.53 kB / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1452, allocations: 82.67 kB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1452, allocations: 3.984 kB / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1452, allocations: 0 / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1452, allocations: 0 / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1454, allocations: 185.5 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.1454, allocations: 4 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1454, allocations: 4 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1454, allocations: 0 / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1455, allocations: 0 / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1455, allocations: 0 / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1455, allocations: 0 / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1456, allocations: 104.9 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1457, allocations: 93 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1458, allocations: 4 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.1458, allocations: 4 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-06/0.1458, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1458, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.1459, allocations: 114.3 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1459, allocations: 0 / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1462, allocations: 16 kB / 354.6 MB, free: 15.45 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.0007543/0.147, allocations: 0.6974 MB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1471, allocations: 47.92 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1471, allocations: 0 / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.1472, allocations: 0 / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1475, allocations: 66.16 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1485, allocations: 0.5441 MB / 356 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1489, allocations: 0.7041 MB / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.149, allocations: 4.312 kB / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.149, allocations: 15.42 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.149, allocations: 4 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1709, allocations: 2.184 MB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.231, allocations: 11.47 kB / 358.9 MB, free: 11.19 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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