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.001915/0.001915, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002333/0.002333, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.035 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 47.92 kB / 377.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2752, allocations: 53.36 MB / 431.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002373/0.2776, allocations: 0.9125 MB / 432.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.2782, allocations: 263.2 kB / 432.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.2783, allocations: 3.938 kB / 432.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.2784, allocations: 3.938 kB / 432.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.2787, allocations: 35.84 kB / 432.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.2789, allocations: 46.89 kB / 432.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.2791, allocations: 51.78 kB / 432.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2792, allocations: 12.17 kB / 432.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.2792, allocations: 19.92 kB / 432.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.2793, allocations: 23.86 kB / 432.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2793, allocations: 0 / 432.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.2794, allocations: 27.97 kB / 432.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.2794, allocations: 15.92 kB / 432.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.2795, allocations: 27.81 kB / 432.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.2797, allocations: 84.34 kB / 432.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2797, allocations: 4 kB / 432.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2797, allocations: 0 / 432.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2797, allocations: 0 / 432.7 MB, free: 5.535 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.0005428/0.2802, allocations: 309.9 kB / 433 MB, free: 5.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2803, allocations: 8.031 kB / 433 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.2803, allocations: 38.75 kB / 433 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2804, allocations: 12.84 kB / 433 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.2807, allocations: 142.4 kB / 433.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2807, allocations: 384 / 433.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2807, allocations: 4.375 kB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.281, allocations: 149.2 kB / 433.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.281, allocations: 0 / 433.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.281, allocations: 4 kB / 433.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.281, allocations: 4 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.2811, allocations: 19.92 kB / 433.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.2815, allocations: 252.7 kB / 433.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2816, allocations: 42.56 kB / 433.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.2817, allocations: 28.95 kB / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.2817, allocations: 0 / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2817, allocations: 38.5 kB / 433.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2817, allocations: 0 / 433.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002118/0.2819, allocations: 81.64 kB / 433.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.282, allocations: 55.39 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2821, allocations: 145.8 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2822, allocations: 25.7 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.2822, allocations: 92.14 kB / 434.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.2822, allocations: 3.984 kB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.2823, allocations: 33.61 kB / 434.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2825, allocations: 318.8 kB / 434.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.2825, allocations: 12 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.2826, allocations: 57.08 kB / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.2827, allocations: 65.08 kB / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2827, allocations: 0 / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.2828, allocations: 89.55 kB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2828, allocations: 8 kB / 434.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2828, allocations: 0 / 434.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2828, allocations: 4 kB / 434.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2829, allocations: 12 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.283, allocations: 3.938 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.283, allocations: 15.94 kB / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.283, allocations: 4 kB / 434.7 MB, free: 3.254 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.0001225/0.2831, allocations: 126 kB / 434.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.2832, allocations: 65.64 kB / 434.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.2834, allocations: 82.33 kB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2834, allocations: 3.938 kB / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2834, allocations: 0 / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2834, allocations: 0 / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2835, allocations: 148.7 kB / 435.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.2835, allocations: 3.984 kB / 435.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.2836, allocations: 4.188 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2836, allocations: 4 kB / 435.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2836, allocations: 4 kB / 435.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2836, allocations: 4 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2836, allocations: 0 / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.2837, allocations: 96.95 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.2838, allocations: 27.77 kB / 435.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.2838, allocations: 7.984 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.2838, allocations: 0 / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.2838, allocations: 4 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2838, allocations: 4 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.692e-05/0.2839, allocations: 109.7 kB / 435.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2839, allocations: 0 / 435.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.2842, allocations: 19.98 kB / 435.4 MB, free: 2.469 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.0007129/0.2849, allocations: 0.6725 MB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.285, allocations: 39.92 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.285, allocations: 3.938 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.285, allocations: 3.938 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2853, allocations: 69.92 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2867, allocations: 1.398 MB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2871, allocations: 0.7041 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.2871, allocations: 7.781 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2872, allocations: 23.42 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2872, allocations: 0 / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3175, allocations: 2.412 MB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.33, allocations: 9.797 kB / 440.7 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000197981 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.csv","/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:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k [Calling sys.exit(0), Time elapsed: 13.987280179000663]