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.001576/0.001576, allocations: 108.8 kB / 21.22 MB, free: 0.75 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.001971/0.001971, allocations: 192.8 kB / 24.5 MB, free: 4.008 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.451/1.451, allocations: 225.6 MB / 253.3 MB, free: 13.07 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.001492/0.001492, allocations: 47.92 kB / 371.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2502, allocations: 52.19 MB / 423.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002109/0.2524, allocations: 0.908 MB / 424.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.2529, allocations: 263.2 kB / 424.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.253, allocations: 4 kB / 424.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.253, allocations: 7.938 kB / 424.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2533, allocations: 31.84 kB / 424.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.2535, allocations: 50.08 kB / 424.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2536, allocations: 47.84 kB / 424.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.2537, allocations: 12.17 kB / 424.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.2537, allocations: 15.94 kB / 424.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.2538, allocations: 23.84 kB / 424.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2538, allocations: 4 kB / 424.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.428e-05/0.2539, allocations: 31.91 kB / 424.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.2539, allocations: 15.94 kB / 424.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.254, allocations: 31.8 kB / 424.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2541, allocations: 80.77 kB / 424.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2541, allocations: 0 / 424.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2541, allocations: 0 / 424.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2542, allocations: 0 / 424.9 MB, free: 13.29 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.0004459/0.2546, allocations: 313.9 kB / 425.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2546, allocations: 12.03 kB / 425.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.089e-05/0.2546, allocations: 192 / 425.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.2547, allocations: 30.75 kB / 425.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.2547, allocations: 12.89 kB / 425.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2549, allocations: 150.3 kB / 425.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2549, allocations: 4.375 kB / 425.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.255, allocations: 12.3 kB / 425.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.2552, allocations: 149 kB / 425.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2552, allocations: 0 / 425.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2552, allocations: 0 / 425.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2553, allocations: 0 / 425.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.2553, allocations: 19.98 kB / 425.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.2556, allocations: 248.7 kB / 425.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2557, allocations: 54.5 kB / 425.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.2557, allocations: 16.92 kB / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.2558, allocations: 4 kB / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2558, allocations: 34.59 kB / 426 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2558, allocations: 0 / 426 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001857/0.256, allocations: 81.58 kB / 426.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.256, allocations: 51.41 kB / 426.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2562, allocations: 152.6 kB / 426.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2562, allocations: 25.7 kB / 426.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.2562, allocations: 88.14 kB / 426.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2562, allocations: 7.953 kB / 426.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.2563, allocations: 25.7 kB / 426.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2564, allocations: 322.7 kB / 426.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.2565, allocations: 15.98 kB / 426.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.2565, allocations: 53.14 kB / 426.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.2566, allocations: 61.09 kB / 426.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2566, allocations: 3.938 kB / 426.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001409/0.2567, allocations: 93.5 kB / 426.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2567, allocations: 8 kB / 426.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2568, allocations: 0 / 426.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2568, allocations: 4 kB / 427 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.2568, allocations: 16.17 kB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2569, allocations: 8.141 kB / 427 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.2569, allocations: 8.188 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2569, allocations: 4 kB / 427 MB, free: 11 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.257, allocations: 133.6 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.2571, allocations: 69.59 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.2573, allocations: 78.39 kB / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2573, allocations: 0 / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2573, allocations: 0 / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2573, allocations: 0 / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2574, allocations: 148.7 kB / 427.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2574, allocations: 4 kB / 427.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.2574, allocations: 7.938 kB / 427.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2574, allocations: 0 / 427.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2574, allocations: 0 / 427.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2574, allocations: 3.984 kB / 427.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2574, allocations: 0 / 427.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2576, allocations: 97.02 kB / 427.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.2576, allocations: 19.88 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2576, allocations: 15.94 kB / 427.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.2577, allocations: 0 / 427.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-06/0.2577, allocations: 4 kB / 427.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2577, allocations: 0 / 427.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.2578, allocations: 113.3 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2578, allocations: 0 / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.258, allocations: 20 kB / 427.7 MB, free: 10.21 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.0006138/0.2586, allocations: 0.6847 MB / 428.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.2587, allocations: 39.92 kB / 428.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2587, allocations: 0 / 428.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2587, allocations: 0 / 428.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.259, allocations: 58.16 kB / 428.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2604, allocations: 1.41 MB / 429.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2607, allocations: 0.7 MB / 430.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.2607, allocations: 7.984 kB / 430.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.2608, allocations: 15.44 kB / 430.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2608, allocations: 0 / 430.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.283, allocations: 2.452 MB / 433.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.87, allocations: 0 / 433.1 MB, free: 4.844 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.348657067981549]