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.0008343/0.0008343, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009056/0.0009056, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8914/0.8914, allocations: 177.1 MB / 204.3 MB, free: 5.723 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 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.285e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.001392/0.001405, allocations: 0.9028 MB / 325.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.001865, allocations: 259.2 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.001943, allocations: 3.938 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.00199, allocations: 7.922 kB / 325.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.002322, allocations: 31.78 kB / 325.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.002489, allocations: 51.83 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.002591, allocations: 43.84 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.002679, allocations: 8.188 kB / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.002725, allocations: 31.91 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.002787, allocations: 15.91 kB / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.002804, allocations: 4 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.002873, allocations: 23.92 kB / 326 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.002932, allocations: 27.91 kB / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.002956, allocations: 11.94 kB / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.003102, allocations: 79.69 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003104, allocations: 8 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003104, allocations: 0 / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003108, allocations: 0 / 326.1 MB, free: 14.43 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.0003693/0.003477, allocations: 302 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.003513, allocations: 8.031 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.003543, allocations: 34.73 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.00357, allocations: 20.84 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.003737, allocations: 137.6 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.003745, allocations: 384 / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.003755, allocations: 12.31 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.003989, allocations: 137.6 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.004006, allocations: 192 / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.004016, allocations: 4.375 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.004023, allocations: 3.938 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.004064, allocations: 23.86 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.004325, allocations: 236.8 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.004418, allocations: 50.56 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.004446, allocations: 20.86 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.004477, allocations: 4.031 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.0045, allocations: 42.48 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.004501, allocations: 0 / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001731/0.004674, allocations: 77.64 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.004725, allocations: 55.41 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.004838, allocations: 149.5 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.004852, allocations: 29.7 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.004897, allocations: 88.14 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.004912, allocations: 4 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.004955, allocations: 21.7 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005061, allocations: 318.8 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.005082, allocations: 7.984 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.005107, allocations: 25.66 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.005146, allocations: 37.64 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005148, allocations: 0 / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.841e-05/0.005226, allocations: 69.52 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.00524, allocations: 8.062 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005245, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.005259, allocations: 4 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.005335, allocations: 4 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.005343, allocations: 7.984 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.005361, allocations: 192 / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.00537, allocations: 0 / 328 MB, free: 12.3 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.744e-05/0.005467, allocations: 125.8 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.00553, allocations: 73.47 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.005653, allocations: 82.44 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.005656, allocations: 8 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.005662, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.005666, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.663e-05/0.005753, allocations: 140.7 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.005758, allocations: 4 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.005789, allocations: 4 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.005792, allocations: 3.984 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005799, allocations: 0 / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0058, allocations: 3.938 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005801, allocations: 0 / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.721e-05/0.005889, allocations: 101 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.005922, allocations: 19.94 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.005937, allocations: 4 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.005952, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-06/0.005954, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.005969, allocations: 11.94 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.006024, allocations: 110.2 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006024, allocations: 0 / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.00617, allocations: 16 kB / 328.7 MB, free: 11.53 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.0004371/0.006607, allocations: 0.6929 MB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.006688, allocations: 27.98 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.00669, allocations: 4 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.006691, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.006927, allocations: 61.66 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.007736, allocations: 1.314 MB / 330.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.007791, allocations: 75.61 kB / 330.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.959e-05/0.007811, allocations: 12.11 kB / 330.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.007848, allocations: 20.5 kB / 330.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007849, allocations: 3.938 kB / 330.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02306, allocations: 2.939 MB / 333.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.891, allocations: 3.984 kB / 333.8 MB, free: 6.387 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 & python3 -m fmpy simulate --output-file Modelica_4.1.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.000197981 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.csv","/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] "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k [Calling sys.exit(0), Time elapsed: 8.649197882972658]