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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 76.08 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.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.0007932/0.0007932, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.8632/0.8632, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.007e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002609/0.002629, allocations: 0.8902 MB / 319.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.003341, allocations: 267.1 kB / 319.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.003432, allocations: 3.938 kB / 319.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.003481, allocations: 7.875 kB / 319.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.003974, allocations: 31.78 kB / 319.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.004202, allocations: 43.83 kB / 319.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.004313, allocations: 47.86 kB / 319.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004417, allocations: 20.14 kB / 319.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.004462, allocations: 23.98 kB / 319.8 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.004522, allocations: 11.92 kB / 319.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.004539, allocations: 4 kB / 319.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.004612, allocations: 31.89 kB / 319.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.004672, allocations: 19.94 kB / 319.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.004698, allocations: 15.92 kB / 319.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004883, allocations: 79.69 kB / 319.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004886, allocations: 0 / 319.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004887, allocations: 4 kB / 319.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004891, allocations: 4 kB / 319.9 MB, free: 4.859 MB / 282.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.0004692/0.00536, allocations: 309.9 kB / 320.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.005407, allocations: 8.922 kB / 320.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.005447, allocations: 34.75 kB / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.00548, allocations: 12.89 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.005711, allocations: 144.6 kB / 320.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005723, allocations: 384 / 320.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005735, allocations: 8.312 kB / 320.4 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.005992, allocations: 141.6 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006002, allocations: 192 / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006013, allocations: 384 / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.006022, allocations: 7.938 kB / 320.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.006068, allocations: 15.94 kB / 320.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.006333, allocations: 240.8 kB / 320.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.006436, allocations: 46.56 kB / 320.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.006472, allocations: 20.86 kB / 320.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.006503, allocations: 7.938 kB / 320.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.006524, allocations: 38.56 kB / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.006526, allocations: 0 / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001695/0.006695, allocations: 81.61 kB / 321 MB, free: 3.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.006744, allocations: 55.41 kB / 321.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.006856, allocations: 149.8 kB / 321.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.006869, allocations: 25.7 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.006903, allocations: 88.14 kB / 321.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.006919, allocations: 3.953 kB / 321.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.006952, allocations: 17.72 kB / 321.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.007029, allocations: 326.8 kB / 321.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.007049, allocations: 7.938 kB / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.007073, allocations: 25.7 kB / 321.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.007113, allocations: 29.7 kB / 321.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007116, allocations: 0 / 321.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.296e-05/0.007189, allocations: 73.52 kB / 321.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.007201, allocations: 4 kB / 321.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007207, allocations: 0 / 321.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.007218, allocations: 8.062 kB / 321.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.007291, allocations: 4 kB / 321.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.007298, allocations: 0 / 321.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.007317, allocations: 4 kB / 321.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.007328, allocations: 0 / 321.8 MB, free: 2.742 MB / 282.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 0.0001055/0.007433, allocations: 122 kB / 322 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.007497, allocations: 77.52 kB / 322 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.007606, allocations: 78.45 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007609, allocations: 0 / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.007612, allocations: 4 kB / 322.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007615, allocations: 4 kB / 322.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.007689, allocations: 148.6 kB / 322.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.007694, allocations: 4 kB / 322.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.007737, allocations: 4 kB / 322.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00774, allocations: 240 / 322.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.00775, allocations: 4 kB / 322.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007752, allocations: 0 / 322.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007753, allocations: 0 / 322.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.989e-05/0.007843, allocations: 104.9 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.00788, allocations: 15.94 kB / 322.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.007901, allocations: 4 kB / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.238e-05/0.007923, allocations: 4 kB / 322.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.007926, allocations: 0 / 322.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.00794, allocations: 8 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.604e-05/0.007996, allocations: 109.8 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007996, allocations: 3.938 kB / 322.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.008145, allocations: 16 kB / 322.5 MB, free: 1.961 MB / 282.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.0005504/0.008696, allocations: 0.6873 MB / 323.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.008805, allocations: 32.11 kB / 323.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008807, allocations: 0 / 323.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.008807, allocations: 0 / 323.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.009092, allocations: 72.83 kB / 323.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.0101, allocations: 1.303 MB / 324.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.01016, allocations: 79.59 kB / 324.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.01018, allocations: 4 kB / 324.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.01022, allocations: 24.48 kB / 324.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01022, allocations: 4.062 kB / 324.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.02917, allocations: 2.954 MB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.012, allocations: 11.98 kB / 327.7 MB, free: 12.8 MB / 298.7 MB " [Timeout remaining time 653] (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.000197981 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.757625237107277]