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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.5 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 192.1 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 48.06 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002375/0.2565, allocations: 0.8805 MB / 401.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.2573, allocations: 266.6 kB / 401.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2574, allocations: 5 kB / 401.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.2574, allocations: 4.969 kB / 401.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.2578, allocations: 28.38 kB / 401.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2581, allocations: 50.09 kB / 401.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2582, allocations: 42.67 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2584, allocations: 23.97 kB / 401.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.2584, allocations: 22.36 kB / 401.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.2585, allocations: 21.45 kB / 401.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2585, allocations: 3.219 kB / 401.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.2586, allocations: 21.17 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.2587, allocations: 16.94 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.2587, allocations: 33.41 kB / 401.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2589, allocations: 78.25 kB / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2589, allocations: 0 / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2589, allocations: 0 / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.259, allocations: 0.7812 kB / 401.7 MB, free: 7.348 MB / 318.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.0005721/0.2595, allocations: 395.8 kB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2596, allocations: 8.031 kB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2596, allocations: 42.75 kB / 402.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.2597, allocations: 8.891 kB / 402.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.26, allocations: 202.5 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.26, allocations: 384 / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.26, allocations: 8.375 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2603, allocations: 149.2 kB / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2603, allocations: 0 / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2603, allocations: 0 / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2603, allocations: 4 kB / 402.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.2604, allocations: 19.98 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.2607, allocations: 281.6 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2608, allocations: 50.56 kB / 402.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.2608, allocations: 16.92 kB / 402.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2609, allocations: 4 kB / 402.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2609, allocations: 30.56 kB / 402.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.2609, allocations: 4 kB / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001926/0.2611, allocations: 85.61 kB / 403 MB, free: 5.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.2612, allocations: 55.41 kB / 403.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2613, allocations: 140.4 kB / 403.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2613, allocations: 25.7 kB / 403.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.2613, allocations: 96.12 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.2614, allocations: 3.953 kB / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2614, allocations: 21.72 kB / 403.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2615, allocations: 326.8 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.2615, allocations: 19.92 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.2616, allocations: 53.08 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.2617, allocations: 69.08 kB / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2617, allocations: 0 / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001282/0.2618, allocations: 89.5 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2618, allocations: 8 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2618, allocations: 192 / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2619, allocations: 8 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.262, allocations: 15.98 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.262, allocations: 0 / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.262, allocations: 7.938 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.262, allocations: 4 kB / 403.9 MB, free: 4.871 MB / 318.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.0001099/0.2622, allocations: 127.5 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.2623, allocations: 69.59 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.2624, allocations: 82.48 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2624, allocations: 4 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2624, allocations: 0 / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2625, allocations: 3.984 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2626, allocations: 181.5 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2626, allocations: 3.938 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.2626, allocations: 4.141 kB / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2626, allocations: 0 / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2626, allocations: 7.984 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2627, allocations: 3.984 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2627, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2628, allocations: 108.9 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.2629, allocations: 89.05 kB / 404.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.2629, allocations: 4 kB / 404.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.2629, allocations: 7.938 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.2629, allocations: 0 / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2629, allocations: 0 / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.664e-05/0.263, allocations: 111.2 kB / 404.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.263, allocations: 0 / 404.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.2633, allocations: 16 kB / 404.7 MB, free: 3.953 MB / 318.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.0006222/0.2639, allocations: 0.685 MB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2641, allocations: 44.23 kB / 405.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2641, allocations: 4.125 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.2641, allocations: 0 / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.2645, allocations: 68.69 kB / 405.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2656, allocations: 1.391 MB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2659, allocations: 0.7 MB / 407.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.266, allocations: 7.984 kB / 407.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.266, allocations: 19.44 kB / 407.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.266, allocations: 4 kB / 407.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.2839, allocations: 2.233 MB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.759, allocations: 7.797 kB / 409.9 MB, free: 14.78 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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.0004 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv","/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) "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k