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.001802/0.001802, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.002116/0.002116, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 51.92 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 53.33 MB / 427 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002418/0.1166, allocations: 0.8844 MB / 427.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006319/0.1173, allocations: 263.2 kB / 428.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1174, allocations: 8 kB / 428.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.977e-05/0.1174, allocations: 7.875 kB / 428.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1177, allocations: 27.84 kB / 428.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1179, allocations: 43.41 kB / 428.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1181, allocations: 55.83 kB / 428.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1182, allocations: 12.17 kB / 428.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.1182, allocations: 19.88 kB / 428.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.1183, allocations: 19.86 kB / 428.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1183, allocations: 4 kB / 428.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.1184, allocations: 23.97 kB / 428.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.1185, allocations: 23.92 kB / 428.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1185, allocations: 31.73 kB / 428.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1187, allocations: 79.64 kB / 428.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1187, allocations: 0 / 428.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1187, allocations: 0 / 428.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1187, allocations: 0 / 428.5 MB, free: 3.367 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.0006615/0.1194, allocations: 391 kB / 428.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1194, allocations: 8.031 kB / 428.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.882e-05/0.1195, allocations: 4.188 kB / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1195, allocations: 34.75 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1196, allocations: 20.84 kB / 429 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1199, allocations: 192.2 kB / 429.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1199, allocations: 8.375 kB / 429.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1199, allocations: 384 / 429.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1203, allocations: 157 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1203, allocations: 0 / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1203, allocations: 0 / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1203, allocations: 0 / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.1203, allocations: 19.94 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1207, allocations: 273.7 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1208, allocations: 50.58 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.1209, allocations: 20.95 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1209, allocations: 0 / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1209, allocations: 30.56 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.1209, allocations: 7.938 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002197/0.1212, allocations: 77.62 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1212, allocations: 59.41 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1214, allocations: 145.8 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1214, allocations: 25.7 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.1214, allocations: 96.12 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1215, allocations: 4 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1215, allocations: 21.67 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1217, allocations: 326.8 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.1217, allocations: 15.98 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1217, allocations: 49.09 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.1218, allocations: 69.08 kB / 430.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1218, allocations: 3.938 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001406/0.122, allocations: 89.55 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.122, allocations: 7.938 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.122, allocations: 4 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.122, allocations: 0 / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.1221, allocations: 15.98 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1221, allocations: 8.125 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.1222, allocations: 7.953 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1222, allocations: 4 kB / 430.7 MB, free: 0.8828 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.0001464/0.1223, allocations: 121.8 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1224, allocations: 73.83 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1226, allocations: 78.33 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1226, allocations: 0 / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1226, allocations: 144 / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.1226, allocations: 11.97 kB / 431 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1228, allocations: 181.5 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1228, allocations: 0 / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1228, allocations: 4 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1228, allocations: 0 / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1228, allocations: 4 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1228, allocations: 0 / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1228, allocations: 0 / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.123, allocations: 100.9 kB / 431.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.1231, allocations: 97 kB / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1231, allocations: 8 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.1231, allocations: 4 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.1231, allocations: 0 / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1231, allocations: 4 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.1232, allocations: 109 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1232, allocations: 0 / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1235, allocations: 19.94 kB / 431.5 MB, free: 15.97 MB / 366.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.000723/0.1242, allocations: 0.6886 MB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1243, allocations: 39.92 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1243, allocations: 0 / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1243, allocations: 3.938 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1247, allocations: 68.33 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.126, allocations: 1.397 MB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1263, allocations: 0.6963 MB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.1264, allocations: 15.91 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1264, allocations: 15.44 kB / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1264, allocations: 0 / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.1462, allocations: 2.312 MB / 436.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.934, allocations: 11 kB / 436.8 MB, free: 10.74 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/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:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(uniformNoiseXorshift64star.state64[1]),previous(uniformNoiseXorshift64star.state64[2]),sample1.u,sample1.y,time,uniformNoiseXorshift64star.globalSeed,uniformNoiseXorshift64star.localSeed,uniformNoiseXorshift64star.noiseMax,uniformNoiseXorshift64star.noiseMin,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y [Calling sys.exit(0), Time elapsed: 10.569834944966715]