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.001292/0.001292, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001249/0.001249, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001498/0.001498, allocations: 47.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1135, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002304/0.1158, allocations: 0.8874 MB / 418.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.1164, allocations: 267.1 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.1165, allocations: 4 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.1166, allocations: 11.92 kB / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1169, allocations: 27.86 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1171, allocations: 43.83 kB / 419 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1172, allocations: 51.89 kB / 419.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1173, allocations: 8.188 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.1174, allocations: 23.86 kB / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1175, allocations: 15.92 kB / 419.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1175, allocations: 4 kB / 419.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1176, allocations: 19.98 kB / 419.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1176, allocations: 23.91 kB / 419.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.1177, allocations: 31.73 kB / 419.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1179, allocations: 83.64 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1179, allocations: 3.938 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1179, allocations: 0 / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1179, allocations: 0 / 419.3 MB, free: 11.12 MB / 350.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.0005702/0.1184, allocations: 387 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1185, allocations: 8.031 kB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1185, allocations: 42.73 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1186, allocations: 8.891 kB / 419.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1188, allocations: 200.2 kB / 419.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1188, allocations: 384 / 419.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1188, allocations: 4.375 kB / 419.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1192, allocations: 149.2 kB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1192, allocations: 3.984 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1192, allocations: 4 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1192, allocations: 4 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.1192, allocations: 19.88 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1196, allocations: 281.7 kB / 420.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1197, allocations: 42.56 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.1197, allocations: 32.94 kB / 420.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1197, allocations: 0 / 420.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1198, allocations: 34.5 kB / 420.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.1198, allocations: 0 / 420.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002019/0.12, allocations: 77.64 kB / 420.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.12, allocations: 55.41 kB / 420.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1202, allocations: 144 kB / 420.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1202, allocations: 25.7 kB / 420.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1202, allocations: 96.14 kB / 420.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1202, allocations: 7.938 kB / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1203, allocations: 21.72 kB / 420.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1204, allocations: 322.8 kB / 421.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.1205, allocations: 12 kB / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1205, allocations: 61.08 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.962e-05/0.1206, allocations: 65.08 kB / 421.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1206, allocations: 0 / 421.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/0.1207, allocations: 93.52 kB / 421.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1208, allocations: 7.984 kB / 421.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1208, allocations: 0 / 421.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1208, allocations: 4 kB / 421.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.1209, allocations: 15.94 kB / 421.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1209, allocations: 0 / 421.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.1209, allocations: 7.938 kB / 421.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1209, allocations: 4 kB / 421.5 MB, free: 8.645 MB / 350.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.0001201/0.121, allocations: 134 kB / 421.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.1211, allocations: 69.59 kB / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.1213, allocations: 82.47 kB / 421.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1213, allocations: 3.938 kB / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1213, allocations: 192 / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1213, allocations: 0 / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1214, allocations: 185.5 kB / 421.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.1214, allocations: 0 / 421.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.1215, allocations: 7.984 kB / 422 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1215, allocations: 4 kB / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1215, allocations: 4 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1215, allocations: 4 kB / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1215, allocations: 0 / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1216, allocations: 92.95 kB / 422.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.1217, allocations: 93.05 kB / 422.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1217, allocations: 11.98 kB / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.1217, allocations: 0 / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.1217, allocations: 4 kB / 422.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1217, allocations: 0 / 422.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.1218, allocations: 113.5 kB / 422.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1218, allocations: 0 / 422.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.122, allocations: 16 kB / 422.3 MB, free: 7.727 MB / 350.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.0006655/0.1227, allocations: 0.6838 MB / 423 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1228, allocations: 35.92 kB / 423 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1228, allocations: 4 kB / 423 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1228, allocations: 3.938 kB / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1231, allocations: 68.64 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1245, allocations: 1.402 MB / 424.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1248, allocations: 0.7082 MB / 425.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1248, allocations: 8.062 kB / 425.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1249, allocations: 19.42 kB / 425.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1249, allocations: 0 / 425.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.1629, allocations: 2.29 MB / 427.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.841, allocations: 7.812 kB / 427.5 MB, free: 2.492 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.464047896210104]