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.0008264/0.0008264, 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.0009082/0.0009082, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.8821/0.8821, 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.673e-06/1.673e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.447e-05, allocations: 8.609 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.001696/0.00172, allocations: 0.8871 MB / 319.3 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004763/0.002196, allocations: 267.1 kB / 319.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.002274, allocations: 0 / 319.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.002319, allocations: 7.875 kB / 319.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.002641, allocations: 39.77 kB / 319.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.002817, allocations: 38.34 kB / 319.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.002921, allocations: 55.84 kB / 319.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.003021, allocations: 16.16 kB / 319.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.003065, allocations: 23.97 kB / 319.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.003126, allocations: 15.92 kB / 319.8 MB, free: 5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.003144, allocations: 4 kB / 319.8 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.003216, allocations: 27.86 kB / 319.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.003272, allocations: 19.92 kB / 319.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003297, allocations: 15.92 kB / 319.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.003448, allocations: 79.75 kB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00345, allocations: 0 / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.003451, allocations: 4 kB / 319.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003455, allocations: 4 kB / 319.9 MB, free: 4.848 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.0004074/0.003863, allocations: 305.9 kB / 320.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.0039, allocations: 8.922 kB / 320.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.003931, allocations: 38.75 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.003959, allocations: 8.891 kB / 320.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.004143, allocations: 152.5 kB / 320.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.004152, allocations: 384 / 320.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004162, allocations: 8.375 kB / 320.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.004395, allocations: 137.5 kB / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004403, allocations: 192 / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.004412, allocations: 4.359 kB / 320.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00442, allocations: 7.938 kB / 320.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.004455, allocations: 16 kB / 320.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.0047, allocations: 236.8 kB / 320.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.004783, allocations: 50.52 kB / 320.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.004812, allocations: 28.89 kB / 320.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.004836, allocations: 0 / 320.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.004855, allocations: 34.56 kB / 321 MB, free: 3.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.004856, allocations: 0 / 321 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001552/0.005011, allocations: 85.5 kB / 321 MB, free: 3.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.005052, allocations: 59.41 kB / 321.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.00514, allocations: 141.8 kB / 321.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.005149, allocations: 25.7 kB / 321.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.005184, allocations: 96.12 kB / 321.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.005196, allocations: 3.953 kB / 321.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.005224, allocations: 13.72 kB / 321.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.005298, allocations: 326.8 kB / 321.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.005316, allocations: 8 kB / 321.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.005337, allocations: 25.7 kB / 321.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.005368, allocations: 25.66 kB / 321.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.005371, allocations: 4 kB / 321.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.8e-05/0.005449, allocations: 65.58 kB / 321.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.005461, allocations: 7.984 kB / 321.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005465, allocations: 0 / 321.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.005479, allocations: 8.062 kB / 321.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.005539, allocations: 4 kB / 321.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005545, allocations: 3.938 kB / 321.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.005562, allocations: 4 kB / 321.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.005569, allocations: 0 / 321.8 MB, free: 2.727 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 8.124e-05/0.00565, allocations: 122 kB / 322 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.005709, allocations: 77.58 kB / 322 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.005813, allocations: 78.39 kB / 322.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.005816, allocations: 4.234 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.005819, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005823, allocations: 7.984 kB / 322.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.141e-05/0.005894, allocations: 152.6 kB / 322.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.005899, allocations: 4 kB / 322.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.005926, allocations: 4 kB / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005928, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.005934, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.005936, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005936, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.006012, allocations: 101 kB / 322.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.006042, allocations: 11.95 kB / 322.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.006058, allocations: 7.984 kB / 322.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.006072, allocations: 4 kB / 322.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.006074, allocations: 0 / 322.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.006084, allocations: 4 kB / 322.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.006133, allocations: 109.7 kB / 322.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006133, allocations: 7.875 kB / 322.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.006277, allocations: 20 kB / 322.5 MB, free: 1.941 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.0004304/0.006707, allocations: 0.671 MB / 323.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.006789, allocations: 31.98 kB / 323.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006791, allocations: 0 / 323.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.006791, allocations: 0 / 323.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.007027, allocations: 76.69 kB / 323.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.008127, 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 6.929e-05/0.008197, allocations: 83.59 kB / 324.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.008217, allocations: 4 kB / 324.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.008256, allocations: 20.44 kB / 324.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008256, allocations: 4.125 kB / 324.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02463, allocations: 2.948 MB / 327.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.661, allocations: 14.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.334444937296212]