Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001413/0.001413, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002345/0.3724, allocations: 0.8814 MB / 409.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.3731, allocations: 259.2 kB / 409.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.3732, allocations: 0 / 409.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.3733, allocations: 3.938 kB / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3736, allocations: 35.84 kB / 409.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3738, allocations: 47.45 kB / 410 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3739, allocations: 51.84 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.374, allocations: 16.17 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.3741, allocations: 15.94 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.3742, allocations: 19.86 kB / 410.1 MB, free: 256 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3742, allocations: 4 kB / 410.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-05/0.3743, allocations: 27.91 kB / 410.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.3744, allocations: 23.92 kB / 410.1 MB, free: 200 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.3744, allocations: 27.8 kB / 410.2 MB, free: 172 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3746, allocations: 79.7 kB / 410.2 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3746, allocations: 4 kB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3746, allocations: 0 / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3746, allocations: 0 / 410.2 MB, free: 88 kB / 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.0005644/0.3752, allocations: 380.9 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3752, allocations: 8.031 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.3753, allocations: 38.75 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3753, allocations: 8.844 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3756, allocations: 219.9 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3757, allocations: 384 / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3757, allocations: 4.375 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.376, allocations: 141.3 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.376, allocations: 7.938 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.376, allocations: 0 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.376, allocations: 0 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.3761, allocations: 16 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.3764, allocations: 277.6 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3765, allocations: 50.5 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.3765, allocations: 28.95 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3766, allocations: 0 / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3766, allocations: 34.56 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.3766, allocations: 0 / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002243/0.3769, allocations: 73.59 kB / 411.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3769, allocations: 63.33 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3771, allocations: 144.2 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3771, allocations: 29.7 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.3771, allocations: 88.12 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.3772, allocations: 8 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.3772, allocations: 29.56 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3773, allocations: 322.8 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.3774, allocations: 12 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.3774, allocations: 53.14 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.3775, allocations: 57.08 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3775, allocations: 8 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/0.3776, allocations: 89.45 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3777, allocations: 8 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3777, allocations: 4.125 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3777, allocations: 0 / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.3778, allocations: 20 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3778, allocations: 4 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.3778, allocations: 11.92 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3779, allocations: 4.188 kB / 412.4 MB, free: 13.61 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.0001165/0.378, allocations: 136.7 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.3781, allocations: 69.53 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3782, allocations: 74.55 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3783, allocations: 4 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3783, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3783, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3784, allocations: 177.6 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3785, allocations: 4 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.3785, allocations: 11.94 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3785, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3785, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3785, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3785, allocations: 3.984 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3787, allocations: 92.97 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.3788, allocations: 104.9 kB / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3788, allocations: 0 / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.3788, allocations: 8 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.466e-06/0.3788, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3788, allocations: 4 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.3789, allocations: 117.5 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3789, allocations: 0 / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.3792, allocations: 12 kB / 413.2 MB, free: 12.7 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.0006273/0.3798, allocations: 0.6858 MB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.3799, allocations: 47.91 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.38, allocations: 0 / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.38, allocations: 0 / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3803, allocations: 61.72 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3816, allocations: 1.398 MB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3819, allocations: 0.7002 MB / 416.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.3819, allocations: 11.77 kB / 416.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.382, allocations: 15.44 kB / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.382, allocations: 0 / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.4018, allocations: 2.269 MB / 418.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.804, allocations: 11.98 kB / 418.4 MB, free: 7.473 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches