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.00146/0.00146, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001518/0.001518, allocations: 188.4 kB / 24.49 MB, free: 3.961 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.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 47.92 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.238, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002196/0.2402, allocations: 0.9002 MB / 424.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.2408, allocations: 255.3 kB / 424.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.2409, allocations: 3.938 kB / 424.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.2409, allocations: 7.922 kB / 424.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.2412, allocations: 23.86 kB / 424.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2413, allocations: 43.89 kB / 424.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2415, allocations: 55.78 kB / 424.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.2415, allocations: 14.28 kB / 424.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.2416, allocations: 19.92 kB / 424.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.2416, allocations: 23.86 kB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2417, allocations: 4 kB / 424.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.2417, allocations: 23.98 kB / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.2418, allocations: 15.92 kB / 424.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.2418, allocations: 27.84 kB / 424.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.242, allocations: 75.64 kB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.242, allocations: 4 kB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.242, allocations: 3.938 kB / 424.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.242, allocations: 4 kB / 424.9 MB, free: 12.92 MB / 334.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.0004563/0.2424, allocations: 309.9 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2425, allocations: 8.031 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.2425, allocations: 4.188 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.2425, allocations: 38.73 kB / 425.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.2425, allocations: 12.83 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2428, allocations: 134.4 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2428, allocations: 4.375 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2428, allocations: 4.312 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.2431, allocations: 153.1 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2431, allocations: 0 / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2431, allocations: 0 / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2431, allocations: 0 / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.2431, allocations: 23.92 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.2434, allocations: 236.8 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.2435, allocations: 46.56 kB / 425.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.2436, allocations: 32.95 kB / 425.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2436, allocations: 0 / 425.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2436, allocations: 34.5 kB / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2436, allocations: 0 / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001934/0.2438, allocations: 77.64 kB / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2439, allocations: 55.41 kB / 426 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.244, allocations: 148.4 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.244, allocations: 25.7 kB / 426.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.2441, allocations: 84.14 kB / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2441, allocations: 19.88 kB / 426.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.2441, allocations: 21.72 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2443, allocations: 326.8 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.2443, allocations: 15.98 kB / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.2444, allocations: 53.08 kB / 426.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.313e-05/0.2444, allocations: 61.08 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2444, allocations: 0 / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001448/0.2446, allocations: 97.5 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2446, allocations: 4 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2446, allocations: 0 / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2446, allocations: 8.031 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.2447, allocations: 19.94 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2447, allocations: 0 / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.2447, allocations: 4 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2447, allocations: 7.984 kB / 426.9 MB, free: 10.65 MB / 334.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.0001147/0.2449, allocations: 131.6 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.245, allocations: 69.59 kB / 427.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.2451, allocations: 82.33 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2451, allocations: 0 / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2451, allocations: 0 / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2451, allocations: 0 / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2452, allocations: 148.8 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2452, allocations: 4 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.2453, allocations: 4 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2453, allocations: 4 kB / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2453, allocations: 4 kB / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2453, allocations: 3.984 kB / 427.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2453, allocations: 0 / 427.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2454, allocations: 100.9 kB / 427.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.2455, allocations: 19.94 kB / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2455, allocations: 0 / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.2455, allocations: 4 kB / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-06/0.2455, allocations: 0 / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2455, allocations: 0 / 427.4 MB, free: 10 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.2456, allocations: 111.2 kB / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2456, allocations: 0 / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.2458, allocations: 20 kB / 427.6 MB, free: 9.875 MB / 334.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.0006446/0.2465, allocations: 0.6836 MB / 428.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2466, allocations: 39.92 kB / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2466, allocations: 0 / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2466, allocations: 0 / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2469, allocations: 62.16 kB / 428.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2482, allocations: 1.414 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.2483, allocations: 79.47 kB / 429.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.2483, allocations: 7.984 kB / 429.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2483, allocations: 19.44 kB / 429.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2483, allocations: 0 / 429.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2725, allocations: 2.496 MB / 432.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.94, allocations: 8 kB / 432.4 MB, free: 5.074 MB / 334.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/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: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: 13.293652516091242]