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.00125/0.00125, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001869/0.001869, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.408/1.408, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 46.64 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08898, allocations: 49.44 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002401/0.09142, allocations: 0.8912 MB / 351.1 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.09211, allocations: 267.1 kB / 351.3 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.09222, allocations: 4 kB / 351.3 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.09227, allocations: 3.938 kB / 351.3 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.09263, allocations: 31.84 kB / 351.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.09286, allocations: 43.83 kB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.09298, allocations: 51.84 kB / 351.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.09309, allocations: 16.19 kB / 351.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.09314, allocations: 15.92 kB / 351.5 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.09322, allocations: 27.84 kB / 351.5 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.09324, allocations: 4 kB / 351.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.09332, allocations: 19.98 kB / 351.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.09339, allocations: 15.92 kB / 351.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.09344, allocations: 27.81 kB / 351.6 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.09362, allocations: 79.7 kB / 351.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.09363, allocations: 0 / 351.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09364, allocations: 7.938 kB / 351.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09365, allocations: 0 / 351.7 MB, free: 2.816 MB / 286.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.0005304/0.09419, allocations: 383.4 kB / 352 MB, free: 2.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.09423, allocations: 12.03 kB / 352 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.09428, allocations: 34.75 kB / 352.1 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.09433, allocations: 12.75 kB / 352.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.09454, allocations: 192.2 kB / 352.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.09456, allocations: 384 / 352.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.09458, allocations: 4.375 kB / 352.3 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.09487, allocations: 157.1 kB / 352.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.09489, allocations: 0 / 352.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.09491, allocations: 0 / 352.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.09492, allocations: 4 kB / 352.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.09497, allocations: 15.94 kB / 352.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.09528, allocations: 285.6 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.09539, allocations: 46.56 kB / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.09544, allocations: 24.95 kB / 352.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.09547, allocations: 4 kB / 352.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.0955, allocations: 38.5 kB / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.09551, allocations: 4 kB / 352.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002118/0.09573, allocations: 77.59 kB / 352.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.09578, allocations: 55.39 kB / 353 MB, free: 1.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.09592, allocations: 145.8 kB / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.09595, allocations: 25.7 kB / 353.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.09599, allocations: 92.12 kB / 353.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.09601, allocations: 7.906 kB / 353.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.09606, allocations: 21.72 kB / 353.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.09616, allocations: 326.8 kB / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.0962, allocations: 12 kB / 353.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.09626, allocations: 53.08 kB / 353.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.883e-05/0.09633, allocations: 65.08 kB / 353.7 MB, free: 496 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.09634, allocations: 0 / 353.7 MB, free: 496 kB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/0.09648, allocations: 93.45 kB / 353.8 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.0965, allocations: 8.188 kB / 353.8 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.09652, allocations: 4 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.09654, allocations: 4 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.09663, allocations: 12 kB / 353.8 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.09664, allocations: 11.86 kB / 353.8 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.09668, allocations: 4 kB / 353.8 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.0967, allocations: 4 kB / 353.8 MB, free: 348 kB / 286.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.0001449/0.09685, allocations: 125 kB / 354 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.09695, allocations: 65.59 kB / 354 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.09711, allocations: 86.33 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.09712, allocations: 144 / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09713, allocations: 0 / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.09713, allocations: 3.984 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.09727, allocations: 181.5 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.09728, allocations: 8.125 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.09732, allocations: 8 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.09733, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.09734, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09735, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.09735, allocations: 4 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.09748, allocations: 100.9 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.09756, allocations: 96.98 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.09759, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.09762, allocations: 8 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-06/0.09763, allocations: 0 / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.09765, allocations: 0 / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.09772, allocations: 114.2 kB / 354.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09773, allocations: 4 kB / 354.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.09795, allocations: 12 kB / 354.6 MB, free: 15.43 MB / 302.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.0005648/0.09852, allocations: 0.6782 MB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.09866, allocations: 63.84 kB / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.09867, allocations: 0 / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.09867, allocations: 0 / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.09898, allocations: 65.64 kB / 355.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.09972, allocations: 0.5475 MB / 356 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.09998, allocations: 0.7041 MB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.25e-05/0.1, allocations: 0 / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.1001, allocations: 19.44 kB / 356.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1001, allocations: 0 / 356.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05342/0.1535, allocations: 2.195 MB / 358.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/7.967, allocations: 8.234 kB / 358.9 MB, free: 11.17 MB / 302.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 & /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 --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) 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) Reference file matches